You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some features that may not be used by many people but are forcing us to ask for too much permission from everyone.
To start, the main reason we need "<all_urls>" is to be able to run the "Trocker.js" content script on non-famous webmails: code. It should be able to switch to an optional permission that is requested the first time this line is called.
The text was updated successfully, but these errors were encountered:
trockerapp
changed the title
Switch to optional permissions for less frequently used features ()
Switch to optional permissions for less frequently used features
Mar 27, 2019
However, could not make "<all_urls>" optional because some of the core functionality of Trocker will be impaired. Without the <all_urls> permission, apparently the webRequests api only refers the requests to urls which are explicitly listed in the manifest to the extension making the following core feature impossible:
Heuristic blocking of trackers (based on image size and not image url). Without <all_urls>, heuristic blocking of images will only be possible in webmails that serve images via a fixed proxy server (e.g. gmail which serves images via googleusercontent.com) because that proxy server could be added to the manifest. This means that without the <all_urls> permission, Trocker won't be able to heuristically block trackers in other webmails such as outlook.com. But heuristic blocking is essential since there are countless tracking urls with new ones cropping up by with each passing day and it will be a losing battle to try to manually find and list them all.
Without the <all_urls> permission, the following feature will perhaps be implementable but needs more work:
Blocking of tracked links. When links are clicked, again the webRequest api only refers clicks on the links that are explicitly listed on the manifest to the extension. This means that to keep providing this feature, we will need to rework how tracked urls are listed in the extension (currently they are listed in lists.js). Given that the above core feature already needs the <all_urls> permission, it doesn't seems reasonable to go through this change just so that this feature will not rely on the <all_urls> permission.
Will close the issue until a solution is found for heuristic blocking in other webmails (e.g. outlook.com).
There are some features that may not be used by many people but are forcing us to ask for too much permission from everyone.
To start, the main reason we need "<all_urls>" is to be able to run the "Trocker.js" content script on non-famous webmails: code. It should be able to switch to an optional permission that is requested the first time this line is called.
The text was updated successfully, but these errors were encountered: