Closed xaozai closed 3 years ago
In order to capture the request and add the header(s), the webRequest
, webRequestBlocking
, and <all_urls>
permissions are required: https://github.com/MisterPhilip/x-forwarded-for/blob/master/src/manifest.json#L36-L38.
You can see how these permissions are used: https://github.com/MisterPhilip/x-forwarded-for/blob/master/src/eventPage.js#L14-L35
Ok. Tnx!
The extension needs permissions to access all the data. For what? Is this really necessary in order to add a header to requests?