如何加载iframe中的google plus share按钮?

Arv*_*waj 3 javascript google-plus-one google-plus

任何人都可以给我一个解决方案如何异步加载iframe中的Google plus分享按钮(而非+1按钮).我已设法为+1按钮做到这一点.

350*_*50D 12

试试这个html片段:

<iframe src="https://plusone.google.com/_/+1/fastbutton?bsv&amp;size=medium&amp;hl=en-US&amp;url=http://test.com/&amp;parent=http://test.com/" allowtransparency="true" frameborder="0" scrolling="no" title="+1"></iframe>
Run Code Online (Sandbox Code Playgroud)