加上一个按钮导致JavaScript错误

Plus one button is causing JavaScript error

本文关键字:JavaScript 错误 上一个 按钮      更新时间:2023-09-26

我在这里读了很多谷歌plue一键不工作的问题,但都没有找到答案。

我正试图在我的网站上添加一个google+和一个facebook按钮。两者都不起作用,但我现在将专注于谷歌按钮。

每次单击都会导致以下javascript错误:

Unsafe JavaScript attempt to access frame with URL http://stephenturley.com/blog/details/7 from frame with URL https://plusone.google.com/_/+1/confirm... ...domains, protocols and ports must match. 

你可以去网站http://www.stephenturley.com并亲眼看到错误。

好吧,我想明白了,这只是一个简单的打字错误。我忘了把http放在按钮的href属性中。