为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Clicking "Login with Facebook" does nothing on Firefox, works on Edge

  • 6 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 user1632815

more options

With Firefox, when I click on "Login with Facebook" on Zomato (zomato.com), nothing happens. However, if I click on "Login with Google" it opens a new window to choose which Google account I want to use. And when I try to do the same on Microsoft Edge it works (both Zomato and Google) so it's not a Zomato problem. I've tried to use Standard Content Blocking, I've disabled the option "Block pop-up windows", and nothing worked. The weird thing is, I could login with Google if I wanted, the window opens, but not with Facebook. This is even more frustrating because I wanted to be automatically logged in, since I'm also logged in on Facebook and it should recognize that I want to use my Facebook account on Zomato. I wanted to insert a screenshot, showing it working on Edge, but I couldn't upload it :/

Thank you so much in advance!

With Firefox, when I click on "Login with Facebook" on Zomato (zomato.com), nothing happens. However, if I click on "Login with Google" it opens a new window to choose which Google account I want to use. And when I try to do the same on Microsoft Edge it works (both Zomato and Google) so it's not a Zomato problem. I've tried to use Standard Content Blocking, I've disabled the option "Block pop-up windows", and nothing worked. The weird thing is, I could login with Google if I wanted, the window opens, but not with Facebook. This is even more frustrating because I wanted to be automatically logged in, since I'm also logged in on Facebook and it should recognize that I want to use my Facebook account on Zomato. I wanted to insert a screenshot, showing it working on Edge, but I couldn't upload it :/ Thank you so much in advance!

被采纳的解决方案

I opened the Web Inspector for the "Login with Facebook" button and discovered that the site has a "Javascript:Void(0)" syntax error. A common reason for a void error in Javascript is missing opening or closing brackets ( the "{" or "}" character). This is a problem for the website not Firefox.

定位到答案原位置 👍 1

所有回复 (6)

more options

Hi InesVilhena, thank you for sharing your add-on list. I think this may be caused by the Facebook Container extension, because it should stop the cross-site communication used by "Login with Facebook". I don't know whether the extension is flexible enough to let Zomato tap into your Facebook account, but not other sites. Does it have any options to make an exception?

more options

Thank you very much for the quick reply!

I have unistalled the extension, but it still doesn't work :(

more options

选择的解决方案

I opened the Web Inspector for the "Login with Facebook" button and discovered that the site has a "Javascript:Void(0)" syntax error. A common reason for a void error in Javascript is missing opening or closing brackets ( the "{" or "}" character). This is a problem for the website not Firefox.

more options

Hi jridgers, your inspector also should show an "event" badge, and if you click that, the mouseup event that triggers the function of the button. (Sample screenshot attached) Is that missing or blocked on yours?

more options

Hi InesVilhena, when I click the button, I get a message about a blocked popup. (Screenshot attached) Do you see anything like that, for example, the little popup window icon at the left end of the address bar?

more options

I see all of this, but I think the issue is that there is to "Click" event coded on their site. If you inspect the element for the "Continue with Google" you'll see there is a "Click" event which is absent for the Facebook button.