类似按钮的弹出窗口

类似按钮的弹出窗口

本文介绍了类似按钮的弹出窗口(“弹出窗口”)不会显示在Chrome扩展中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我开发的chrome扩展中的一个页面上放置一个类似的按钮。

i am trying to put a like button on a page in a chrome extension that i've developed.

我使用简单的XFBML版本:

i use the simple XFBML version:

<fb:like href="http://www.mydomain.com/page?param=1&amp;otherparam=2" send="false" layout="standard" width="400" show_faces="false" font="arial" ref="chrome_notification"></fb:like>

当然,我使用JavaScript SDK。

and of course i use the JavaScript SDK.

当我将此页面上传到我的网络服务器中时,一切正常。
,但是当我在Chrome扩展程序中运行此页面时,类似的按钮本身工作正常,但注释弹出窗口不显示。

when i upload this page into my webserver, everything works just fine.but when i run this page within my chrome extension, the like button itself works just fine, but the comment popup doesn't show.

另外 - 我在控制台中收到这些错误信息:

in addition - i get these error masseges in the console:

和 -

任何人都可以帮我找到一个解决方案?

can anyone help me to find a solution for this?

推荐答案

可能通过与这个已知的Facebook错误有关?

Could it possibly by related to this known Facebook bug?

基本上,如果在Facebook用户帐户上启用了安全浏览,则会遇到此问题。

Basically, one gets this behavior if secure browsing is enabled on the Facebook user's account.

这篇关于类似按钮的弹出窗口(“弹出窗口”)不会显示在Chrome扩展中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 06:13