
Loading…
[Firefox] External script not blocked #1134
quilloss
commented
gorhill
commented
This happens only on Firefox, and only if the HTML document is loaded from file://.
That Chromium was not showing the issue is just luck, depends whether the image was pull before the script.
Actually, Chromium does not want to execute the scripts in there because:
Refused to execute script from 'https://gist.githubusercontent.com/anonymous/3988344ba5aba30784bc/raw/4359ff0ab75c95fbaa4e677c595f0138c7a66bd4/gistfile1.js'
because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Probably Github is setting the MIME type to text and apparently Firefox disregards this, while Chromium enforces it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce
Example:
Symptoms
Script is not blocked.
Preferences Different From Defaults
Info
Other Extensions