MisterPhilip / x-forwarded-for

X-Forwarded-For Header Browser Extension
MIT License
58 stars 18 forks source link

Extension permissions to "Access your data for all websites" #19

Closed xaozai closed 3 years ago

xaozai commented 3 years ago

The extension needs permissions to access all the data. For what? Is this really necessary in order to add a header to requests?

MisterPhilip commented 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

xaozai commented 3 years ago

Ok. Tnx!