Failed to load resource?? Check your adblocker!!
If you have a weird problem that an external script ist not loading, always check these two possibilities: are you local(file://) or is any adblocker active.
Does it work in incognito/private/porn mode ?
I just waisted 15 minutes of my lifetime to notic that my DoNotTrackMe extension is blockind google analytics and facebook. Both are loaded with $.ajax{dataType: "script") so I thought thats the problem. I
m working on localhost and 0.0.0.0 so there should not be any sandbox problem. I tried $.getScript and finally tried the manual way of inserting a script tag. Nothing helped. Then I found that answer (again!!). Kabir.. thanks!!
http://stackoverflow.com/questions/4390134/failed-to-load-resource-under-chrome/9590757#9590757
Now I can clearly remember that I already had the same problem weeks ago- stupid brain. I disabled the extensions and everything works now. The incognito tip is cool for quick error testing.
Note to myself: I should add a permanent whitelist entry for localhost:* and 0.0.0.0:* in my adblockers, but not now.
Written by George
Related protips
2 Responses
holly shit you saved my ass !!!
HA! Thanks! I was having a similar problem where I was trying to load Jquery and other JS-files from a CDN but failed on Google Chrome after a few refreshes of the site.