james-fray / local-cdn

WebExtension implementation of Decentraleyes project: Local emulation of Content Delivery Networks
http://add0n.com/local-cdn.html
Mozilla Public License 2.0
170 stars 41 forks source link

Local CDN network request redirect disrupting HTTPS Everywhere #1

Open anonsubmitter opened 7 years ago

anonsubmitter commented 7 years ago

I got this warning via HTTPS Everywhere on Chrome's "Extensions" page:

Warning:

james-fray commented 7 years ago

I see. Since this extension also redirects this library to a local resource, one extension should fail. Is this causing any problem with HTTPS Everywhere or it is just a warning?

anonsubmitter commented 7 years ago

I haven't noticed any problems, but I've barely used Local CDN since I only have it installed on a computer at school and use Firefox at home. However, I never got any warning like this with HTTPS Everywhere and Decentraleyes on Firefox, which is a similar use case. Though I guess maybe Firefox doesn't warn about errors like that like Chrome does?

Marc05 commented 7 years ago

I got the same error, but reversed. Is there any way to force the use of Local CDN over HTTPS Everywhere?

Warning: This extension failed to redirect a network request to chrome-extension://dgfedofdiaapcideaajjaklpmdpcdapg/data/resources/webfont/1.5.18/webfont.js.dec because another extension (HTTPS Everywhere) redirected it to https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js.

james-fray commented 7 years ago

Only one extension is allowed to redirect a request or modify a header at a time. If more than one extension attempts to modify the request, the most recently installed extension wins and all others are ignored. An extension is not notified if its instruction to modify or redirect has been ignored

See Conflict resolution; https://developer.chrome.com/extensions/webRequest

anonsubmitter commented 7 years ago

It seems like Decentraleyes has the same problem.

zanewayne78 commented 7 years ago

same problem