5 ms·
> 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 i
by dedoussis 4y 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-extension/blob/main/src/manifest.json#L19 https://github.com/dedoussis/icloud-hide-my-email-chrome-ext...
2. rules.json: https://github.com/dedoussis/icloud-hide-my-email-chrome-extension/blob/main/src/rules.json https://github.com/dedoussis/icloud-hide-my-email-chrome-ext...
3. Relevant docs: https://developer.chrome.com/docs/extensions/reference/declarativeNetRequest/ https://developer.chrome.com/docs/extensions/reference/decla...
- dedoussis 4y agoOh actually SingleFile is not attempting to set the headers but modify them, which seems to not be possible with V3. That makes sense.
- deleted 4y ago[deleted]