Hi,
Header modification support has been added to the declarativeNetRequest API starting in M85 (also currently available in Beta/Dev/Canary). This change allows extensions to add/set/remove request and response headers.
Example rule:
Documentation is available at https://developer.chrome.com/extensions/declarativeNetRequest#type-ModifyHeaderInfo with more examples. Please try out this functionality for yourself and let us know what you think by filing bugs feature requests.
Thanks,
Kelvin
Note: Currently, the documentation incorrectly lists the availability of ModifyheaderInfo as M86. ModifyHeaderInfo will be available on M85 Stable.