Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSP 'sandbox' directive prevents content scripts from matching, due to unique origin #1

Open
acheronfail opened this issue Dec 6, 2017 · 0 comments

Comments

@acheronfail
Copy link
Owner

Due to a bug in Firefox's implementation of WebExtensions, we can't inject scripts into pages with the CSP 'sandbox' directive set (unfortunately this means that this extension won't work on files hosted on raw.githubusercontent.com/*, or any other page with CSP 'sandbox' enabled).

After some investigation it looks like this is a known issue and the bug reports can be tracked here and here.

For reference:

This page works (no CSP)
This page doesn't (CSP)

greasemonkey/greasemonkey#2631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant