mellowtel-inc / mellowtel-js

With Mellowtel, your users can share a fraction of their unused internet by using a transparent opt-in/out mechanism. Trusted partners access the internet through this network, and you get paid for it.
https://www.mellowtel.it/
GNU Lesser General Public License v3.0
41 stars 2 forks source link

Less Permission Requirements (only on specified hosts) #2

Open mellowtel opened 5 months ago

mellowtel commented 5 months ago

The core idea behind this new release is to be able to import Mellowtel in an extension which only requires host permissions on specific domains (wikipedia.org, yotube.com, fiverr.com, google.com, etc...). This way no additional permissions will be required (not even at runtime, which is already possible), making the whole integration process more painless and secure.

What we need to do? We have to remove the dependency on the tabs and declarativeNetRequest permissions. declarativeNetRequest

Blocker: The biggest blocker is that tabs is used to message between the content script and background script.

We can use this thread to brainstorm together and track progress

mellowtel commented 5 months ago

Working on it with this PR => https://github.com/mellowtel-inc/mellowtel-js/pull/5