English 中文(简体)
装入类似(或类似)的Facebook脚本一次
原标题:Load Facebook Like (or similar) scripts once

是否有方法将这些插件中的按钮两次放入一页, 但只加载脚本一次?

插件,例如:Facebook 喜欢,Tweet这个,G+这个。

Example: In a blog post underneath the title I have: Tweet this, G+ and Facebook Like. On the left side of this post there is a fixed bar with the same buttons: Facebook, Tweet and Google.

每次按键翻譯时,脚本会装入两次 。

只是想知道,如果任何方法 存在/完成到目前为止?

最佳回答

如果脚本完全相同,那么是的,它们将会被装入两次,但其中之一将从浏览器缓存中装入。这里没有什么可担心的。

可能用户在访问您的网站之前就已经在浏览器缓存中存有这些脚本。 我们可以看到喜欢和+1 s 、 推文和所有排序 < 坚固>, 今天的< / 坚固> 都存在。 我想说,假设普通用户会将这些普通脚本存储在本地,这非常安全。

问题回答

暂无回答




相关问题
Facebook Connect login dialog not working

I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...

Facebook App Profile Tab is Empty ... No Content Displayed?

I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...

Facebook Platform error: "Object cannot be liked"

I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...

how to call showPermissionsDialog() in php (facebook api)?

I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...

Facebook connect

If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...

热门标签