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

Support regex list of URLs where to enable the extension #2

Closed
phgn0 opened this issue Mar 19, 2022 · 1 comment
Closed

Support regex list of URLs where to enable the extension #2

phgn0 opened this issue Mar 19, 2022 · 1 comment
Labels
feature New feature or request

Comments

@phgn0
Copy link
Contributor

phgn0 commented Mar 19, 2022

Right now the extension only considers specific domains allowlisted or blocklisted manually, or a list of default disabled domains in defaultStorage.js.

To reduce the number of activations on non-article URLs, a more specific list of regex filters would be interesting. This list could even be crowdsourced.

See

@phgn0 phgn0 added the feature New feature or request label Mar 21, 2022
@phgn0
Copy link
Contributor Author

phgn0 commented Mar 22, 2022

This is now implemented in 0.6.0, except that the regexes are static and not configurable by users. Hopefully that provides a reasonable default.

More details on the heuristics used to decide if a page is an article: https://github.com/lindylearn/unclutter/blob/main/docs/article-detection.md

@phgn0 phgn0 closed this as completed Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant