top | item 33064467

(no title)

dedoussis | 3 years ago

> With Manifest V2, it was possible to inject a "Referrer" HTTP header if necessary. With Manifest V3, it's no longer possible.

Not entirely sure of how this is true. A recent V3 extension I've built is able to inject both the "Referer" and "Origin" headers using a declarative net request ruleset:

1. manifest.json (referencing the rules.json file): https://github.com/dedoussis/icloud-hide-my-email-chrome-ext...

2. rules.json: https://github.com/dedoussis/icloud-hide-my-email-chrome-ext...

3. Relevant docs: https://developer.chrome.com/docs/extensions/reference/decla...

discuss

order

dedoussis|3 years ago

Oh actually SingleFile is not attempting to set the headers but modify them, which seems to not be possible with V3. That makes sense.