I got this error in javascript
console while using the Facebook Login Api.
The resource at "http://connect.facebook.net/en_US/sdk.js" was blocked because tracking protection is enabled.
// Load the SDK asynchronously
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id))
return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
Google + plugin also blocked,Now my Facebook like and other social network plugins not work on Firefox 42.0
I used Firefox 42.0
This feature call Firefox Tracking Protection.
Tracking Protection allows Firefox users to avoid many forms of online tracking. Originally based on the blocklist from antitracking startup Disconnect, the feature offers better privacy while also speeding up page loads by blocking requests to tracking domains.
How to turn Off Tracking Protection
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
Search for privacy.trackingprotection.enabled.
Double-click privacy.trackingprotection.enabled
to set its value
to false
.
This will turn off Tracking Protection. If you later want to turn it back on, repeat the above steps to toggle the preference back to false.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With