nosniff is blocking a script without telling me
Posted: Fri Feb 03, 2012 8:24 pm
I was trying to see the javascript effect in the Demo section of this page:
http://polarblau.github.com/stickySecti ... ticky-list
...and it didn't work. I had allowed scripts on the site using the NoScript icon, and the icon didn't indicate that anything else was being blocked, so I believed the demo must be broken.
It turned out that NoScript was secretly blocking a script after all. The javascript console showed this message:
[NoScript] Blocking nosniff Javascript served from https://raw.github.com/polarblau/sticky ... headers.js with wrong type info text/plain, inline and included by http://polarblau.github.com/stickySectionHeaders/
WTF? I can't think of any reason why NoScript should block scripts without indicating that it is doing so. It just leads to frustration.
The same problem occurs when I tell NoScript to allow scripts globally, which would seem to be a problem as well.
http://polarblau.github.com/stickySecti ... ticky-list
...and it didn't work. I had allowed scripts on the site using the NoScript icon, and the icon didn't indicate that anything else was being blocked, so I believed the demo must be broken.
It turned out that NoScript was secretly blocking a script after all. The javascript console showed this message:
[NoScript] Blocking nosniff Javascript served from https://raw.github.com/polarblau/sticky ... headers.js with wrong type info text/plain, inline and included by http://polarblau.github.com/stickySectionHeaders/
WTF? I can't think of any reason why NoScript should block scripts without indicating that it is doing so. It just leads to frustration.
The same problem occurs when I tell NoScript to allow scripts globally, which would seem to be a problem as well.