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

Try to remove the permission "tabs" #13

Open
Thunderarea opened this issue Jan 26, 2024 · 1 comment
Open

Try to remove the permission "tabs" #13

Thunderarea opened this issue Jan 26, 2024 · 1 comment
Labels
improvement Something that works but needs improvement to do For implementation

Comments

@Thunderarea
Copy link
Owner

The permission "tabs" throws a warning to the users who install the extension saying that the extension can "Read your browsing history"
https://developer.chrome.com/docs/extensions/develop/concepts/permission-warnings#permissions_with_warnings

Permission "tabs" is used to monitor when a URL changes and adjust the extension's functionality accordingly (remove qapages or sspages settings etc, start blocking videos/images if it is a YouTube URL or stop if it is not). It is used here

Try to implement this with popstate listener in the content scripts (to inform the background script for changes in the URL or if a new page is YouTube or YouTube Music) and beforeunload listener (to inform the background script that this page was removed/changed to something else)

@Thunderarea Thunderarea added to do For implementation improvement Something that works but needs improvement labels Jan 26, 2024
@Thunderarea
Copy link
Owner Author

You cannot listen for URL changes in YouTube...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something that works but needs improvement to do For implementation
Projects
None yet
Development

No branches or pull requests

1 participant