proginosko / LeechBlockNG-chrome

LeechBlock NG (Next Generation) for Chrome is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
72 stars 14 forks source link

Prefixes Not Working as Anticipated #50

Closed ChrisLTheNerd closed 1 year ago

ChrisLTheNerd commented 1 year ago

When I add a specific sub-site as an exception like +https://www.youtube.com/@minecraft, the main site added to the block list like https://www.youtube.com will override it. Same happens on amazon when adding my order history as an exception. I'm using Chrome Version 108.0.5359.99 (64-bit)

Screenshot 2022-12-10 165204 Screenshot 2022-12-10 180406 Screenshot 2022-12-10 164806

It also happens with keyword prefixes.

Screenshot 2022-12-10 173208 Screenshot 2022-12-10 173311 Screenshot 2022-12-10 173456

And here's the issue with Amazon too.

Screenshot 2022-12-10 180118 Screenshot 2022-12-10 180153 Screenshot 2022-12-10 180212

proginosko commented 1 year ago

You shouldn't include the protocol (https) in the site list. You can also omit the www, since LeechBlock will match sites with or without it. So, for example, your first list should be:

+youtube.com/@minecraft youtube.com

ChrisLTheNerd commented 1 year ago

Oh, thanks! Sorry to bother you. Also just to be aware, is there a way to make an exception for videos from specific YouTube Channels? I'm aware the channel name is not anywhere on a video link, but I just want to be sure.

proginosko commented 1 year ago

Yes, the channel name doesn't appear in the URL, but some users have blocked videos in specific channels by using keyword blocking.