-
Notifications
You must be signed in to change notification settings - Fork 472
CSP error notification -> Conflicting with uBlock Origin? #967
Comments
Duplicate of gorhill/uBlock#1170. I thought I was on uBO's issue tracker, I corrected the link above: only one extension can modify a HTTP header, it's a browser API by-design behavior. You will have to find what setting is causing uBO to modify the |
I decided to test an idea, and it worked, so re-opening -- I will need to experiment more to be sure though in case there was a flaw in my test. This seems fixable if I inject a new CSP header instead of modifying an existing one -- which both uMatrix and uBO do. Speculating: this is probably a solution because it's allowed for servers to send more than one CSP header. |
@gorhill Will this finally fix all such "extension errors" invoked via CSP header modification or only this one in particular ? |
Unfortunately, added response headers were not merged on Firefox 58 and less: Test case: URL: Browser console with default uBO settings:
Add filter: Browser console with FF58:
Browser console with FF61, as expected a combination of both output above:
|
Works as expected on Chromium. To experiment, add |
@gorhill I'm not sure what to conclude out of this, could you confirm or correct the following ? Firefox 59 merges headers with the same name, which includes CSP headers, when there is more than one add-on trying to modify them. So now, can a website infer from the headers that I have both uMatrix and uBO installed ? I'd rather have them only able to infer I have uBO, as it has many users. uMatrix is more of an oddball unfortunately and I'd rather not stand out if possible. More generally, what can the website figure out from headers if I have both uBO and uMatrix installed ? Note that this is a different question, the first one assumes uBO can be figured out and wishes to know if having uMatrix on top can go unnoticed. The second seeks to know if uBO and/or uMatrix are even distinguishable from one another, from another content blocker or from, I don't know, Firefox's Tracking Protection or even a network failure or a site bug. Thanks! |
Switched from an Amazon page where I blocked almost nothing with uMatrix to a new tab and loaded a site that blocked everything except the frame and CSS. Suddenly I get a notification on Chrome telling me I've got an "extension error" or something, and when I reviewed my extensions, the following warning appeared:
No idea if that is a bad thing, both uBlock Origin and uMatrix seem to continue to work as expected.
Settings
The text was updated successfully, but these errors were encountered: