tom-james-watson / old-reddit-redirect

Ensure Reddit always loads the old design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ℹ️ New permissions due to manifest v3 migration

tom-james-watson opened this issue · comments

The extension on Chrome was recently migrated to manifest v3 - #115

This was a mandatory migration that needed to happen for the extension to not be removed from the web store.

With manifest v3, the only way to implement the same functionality is to use the declarativeNetRequest API, which shows in permissions as "Block content on any page". See https://developer.chrome.com/docs/extensions/reference/permissions-list.

The extension also triggers a request for a new permission for old.reddit.com, which is also due to the way manifest v3 interprets the extension. But that permission is obviously pretty understandable.

Just in case anyone else is wondering why the permission says "Block content on any page":

The chrome.declarativeNetRequest API is used to block or modify network requests by specifying declarative rules. This lets extensions modify network requests without intercepting them and viewing their content, thus providing more privacy.

-- chrome.declarativeNetRequest

I my few extensions like a hawk and the updated permission request concerned the heck out of me. Thank you for the transparency and all the hard work on this extension @tom-james-watson, and the permission details @wjandrea.

Same here, had to double check haha