Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Conflict with Tempermonkey in modifying "Content-Security-Policy" #778

Closed
VictorSu000 opened this issue May 2, 2017 · 2 comments
Closed
Labels

Comments

@VictorSu000
Copy link

uMatrix and Tempermonkey seem to work well so far, but an warning message pops up, which says "During network requests Tempermonkey can't modify "Content-Security-Policy" in response headers, because this modification conflicts with another extension uMatrix."

image

@gorhill
Copy link
Owner

gorhill commented May 2, 2017

Browser limitation, only one extension can modify a HTTP header. You will have to pick which one you want to modify the header. Take note that uMatrix never make a CSP header less strict, it only makes them same or stricter. I believe Tampermonkey can potentially make the CSP header less strict. You will have to seek information with Tampermonkey authors.

@gorhill gorhill closed this as completed May 2, 2017
@uBlock-user
Copy link
Contributor

uBlock-user commented May 3, 2017

@VictorSu000 Open settings and set the settings mode to Advanced mode, scroll down to the end and in Security category somewhere, there's a CSP setting, disable it.

Read - gorhill/uBlock#2074 (comment)

If you don't want to do that, then use ViolentMonkey instead of TamperMonkey.

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

No branches or pull requests

3 participants