When I try to use a twitter timeline, or view a twitter timeline on any site in Firefox I am greeted with the console warning:
The resource at "https://platform.twitter.com/widgets.js" was blocked because tracking protection is enabled.
I have three parts to this question:
- Why is firefox blocking twitter timelines/widgets?
- What can I do to make the timeline show?
and the most infuriating:
- Why is this happening even though tracking protection is NOT enabled???
Here are some examples of timelines that get blocked:
http://www.success-equation.com/home.html
http://userapp-io.github.io/twitter-timeline-angularjs/demo/demo.html
http://entrepreneurship101.mit.edu/ (in the footer)
http://minitwitter.webdevdesigner.com/
Here is an example that works (only on twitter.com domain) https://blog.twitter.com/2014/3-power-tips-for-using-embedded-timelines
Here is an explanation of tracking protection on SO: https://stackoverflow.com/a/34243073/3700836
and last, but not least, proof that it is actually disabled:
Firefox 42.0 - Mac OSX 10.10, also seen on Windows 10
An amusing but frustrating footnote: Don't bother tweeting to Twitter @support, they don't respond to tweets.
I tried the example URLs that you have given and Twitter timeline works on all those pages without any issue. (FF 42.0 Win 7). And in fact I've
services.sync.prefs.sync.privacy.trackingprotection.enabled
set to true (default value).Do you have any Add-on that might be blocking twitter timeline (may be cross origin requests)? Try disabling all Add-Ons and check if it works for you.
Try with this answer. https://stackoverflow.com/a/34243073/1641556
My Settings :
Current browser version : 43.0.1 (also work with 42.0)
In my web browser this (http://www.success-equation.com/home.html) works fine.
EDIT : In my office pc Firefox 43.0.3 updated and that twitter plugin not work correctly. Then I was made change with this line and it's worked for me.
privacy.trackingprotection.pbmode.enabled
false
This appears to be blocked due to depending on unencrypted content delivered through an otherwise encrypted connection. This is because the unencrypted connection could potentially leak information. I don't think this is related to the Tracking Protection feature introduced in Firefox 42.0.
I forked that repository and changed one character on this one line of code in the HTML:
original (broken) version:
new (functional) version (which will not exist forever):
With Firefox
about:config
itemprivacy.trackingprotection.enabled
set tofalse
, my fork works while the original does not. With it set totrue
, neither works.I've submitted a pull request to get my one character change merged to the original repository. I'll eventually kill off my fork.