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

Allow to block any page containing a word #72

Merged
merged 2 commits into from
Dec 29, 2023
Merged

Conversation

penge
Copy link
Owner

@penge penge commented Dec 28, 2023

Before

Trailing / was automatically added:

example.com    # same as example.com/

But it prevented to match by word:

*watch*        # should block https://www.youtube.com/watch?v=123456
               # but *watch* was changed to *watch*/
               # so there was no match

Now

Trailing / is NOT automatically added. Need to write:

example.com/

Which fixes matching by word:

*watch*        # will block https://www.youtube.com/watch?v=123456



Other changes:

  • updating README (adding section Special characters, updating Examples)
  • improving look of blocked info page (better contrast, moving count to the end of message)

@penge penge added the enhancement New feature or request label Dec 28, 2023
@penge penge added this to the 8.1 milestone Dec 28, 2023
@penge penge force-pushed the improve-star-blocking branch 6 times, most recently from c852ec0 to 2a0acf3 Compare December 29, 2023 04:54
- do not add trailing / automatically anymore
- update README (list Special characters, update Examples)
- replace "by rule" with simple "by"
- move count to the end of message
@penge penge merged commit 4eabce4 into master Dec 29, 2023
1 check passed
@penge penge deleted the improve-star-blocking branch December 29, 2023 05:41
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