Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a way to make the extension work with fewer permission #2

Open
feluxe opened this issue Oct 4, 2020 · 0 comments
Open

Find a way to make the extension work with fewer permission #2

feluxe opened this issue Oct 4, 2020 · 0 comments

Comments

@feluxe
Copy link
Owner

feluxe commented Oct 4, 2020

Currently the extension declares the following content_scripts config:

  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "css": ["style.css"],
      "js": ["aligner.js"],
      "run_at": "document_end"
    }
  ],

this requires the "Read and change all your data on the websites you visit" requirement, which is quite tense.

The extension:

  • needs to read the domain of the active tab.
  • needs read/write access for a persistent storage to save settings for each domain.
  • needs to apply css borders to the document.documentElement

Maybe there is a way to achieve this with fewer permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant