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

Block www using *, Add context menu to block entire website #75

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

penge
Copy link
Owner

@penge penge commented Apr 25, 2024

Fixes a problem when the following rule:

*.facebook.com/*

would NOT block:

https://www.facebook.com/

because it contains www.


More improvements:

  • can block only www paths (meaning no-www paths will remain unblocked)
  • www blocked by default (for convenience)
  • adding /* to paths automatically, if there is no / (for convenience)
  • escaping regex characters (. and +) in blocked paths, so they don't conflict with ? and *

Improved Context menu (right-click on any website), which now has a new option to block entire website. The options now are:

  • Block this page only
  • Block entire website

@penge penge added the enhancement New feature or request label Apr 25, 2024
@penge penge added this to the 8.2 milestone Apr 25, 2024
@penge penge force-pushed the block-www-using-star branch 3 times, most recently from 0bcb5c9 to 3ec6e33 Compare April 25, 2024 15:35
- can block only www paths
- www blocked by default (for convenience)
- adding /* to paths, if there is no / (for convenience)
- escaping regex-like characters in paths (. and +)
@penge penge changed the title Block www using * Block www using *, Add context menu to block entire website Apr 25, 2024
@penge penge merged commit 2385d5d into master Apr 25, 2024
1 check passed
@penge penge deleted the block-www-using-star branch April 25, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant