AdguardTeam / AdGuardMV3

AdGuard browser extension prototype based on the new Manifest V3
https://adguard.com/
GNU General Public License v3.0
143 stars 13 forks source link

Broad Host permissions #7

Closed Rutuj-Runwal closed 1 year ago

Rutuj-Runwal commented 1 year ago

The extension currently uses the host permissions of all urls

"host_permissions": [
      "<all_urls>"
    ],

Instead use of http://*/*", https://*/* or *://*/* can be done as the all_urls matches any URL that starts with a permitted scheme (http:, https:, file:, or ftp:) but access to file: and ftp: is not required.

LifeIsStrange commented 1 year ago

The ability to use a content blocker for local html files (development) and for pdf with js (or hiding elements in pdf.js ux) are nice usecases so if there's no real tangible value behind those restrictions, let's not regress the scope of the app?