Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FB is not defined on Firefox 4

FB is not defined in Firefox 4 but works on lower Firefox versions, Internet Explorer, Chrome, Safari. I've tried async loading and the following solutions mentioned here

FB is not defined error in Firefox 4

How to workaround 'FB is not defined'?

I've also removed extensions that could trigger this such as AdBlock.

Anybody here experienced the same thing? I don't know what I could've missed... oh boy...

Also, I am experiencing many errors in Firefox 4 when I visit other websites... makes me wonder if the FB is not defined error is a Firefox bug or something...

Man!

I'd really appreciate any opinions or suggestions... Thanks!

like image 398
Woppi Avatar asked Nov 27 '25 07:11

Woppi


1 Answers

It may not be the exact same problem but one thing that worked for me was to move the FB include right to the top of the head element.

<head>
    <script src="http://connect.facebook.net/en_US/all.js" language="Javascript" type="text/javascript"></script>
    ...
like image 127
Richard Marr Avatar answered Nov 29 '25 23:11

Richard Marr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!