iorate / ublacklist

Blocks specific sites from appearing in Google search results
https://iorate.github.io/ublacklist/
MIT License
5.38k stars 260 forks source link

Not working at all on Startpage with version 8.6.0 #453

Open linlinxza opened 1 month ago

linlinxza commented 1 month ago

Expected Behavior

Filtering should work on startpage.

Actual Behavior

Not filtering at all.

Steps to Reproduce the Problem

  1. Install addon
  2. Add an expression like ://.reddit.com/*
  3. Enable for startpage.com
  4. Activate
  5. Search for reddit

Specifications

Again, it might be worth also checking the mobile version of startpage.

GoldenMariaNova commented 1 month ago

It's even worse. The extension can't even access its own options.

This "update" broke the entire extension.

linlinxza commented 1 month ago

I can access its options interestingly enough. But yeah. This addon needs to be fixed. I don't know of any other method to filter out the crap online (like the Lizard's Meta crap).

jedomed commented 1 month ago

I'm also using Librewolf, filtering works on Google and DDG but on Startpage

linlinxza commented 1 month ago

I'm also using Librewolf, filtering works on Google and DDG but on Startpage

Yeah. I'm also aware of that.

linlinxza commented 1 month ago

This is strange. The addon will work briefly on startpage. But after that, it won't. This happens on a fresh browser profile. It's depends on how many times you refresh the page. Then it will work temporarily.

Screenshot_20240512_061005

Refresh: Screenshot_20240512_061024

Seems like this addon is doing more misses than hits for now. I just hope this gets fixed.

jedomed commented 1 month ago

If you have uBlock, adding startpage.*##.result:has(a[href*="*.reddit.com"]) to your filters seems to do the job. Just wanted to mention it as an alternative, 'cause I kept accidentally clicking on sites I had blacklisted ever since the extension broke.

linlinxza commented 1 month ago

If you have uBlock, adding startpage.*##.result:has(a[href*="*.reddit.com"]) to your filters seems to do the job. Just wanted to mention it as an alternative, 'cause I kept accidentally clicking on sites I had blacklisted ever since the extension broke.

Thank you! I'll do that. I'm already making custom lists on Github for my repos to try and block all the stuff I see as trash online.

EDIT:

I tried that and it's not working.

jedomed commented 1 month ago

Correction: startpage.*##.result:has(a[href*="www.reddit.com"]) my original example works for blocking Fandom (startpage.*##.result:has(a[href*="*.fandom.com"])) but not Reddit, not sure why, anyway as I'm typing this uBlocklist started working again haha. I think it heard that I was about to replace it with uBlock.

linlinxza commented 1 month ago

I went with this:

startpage.*##a[href*=".reddit."]:upward(1)

That works. And I ironically, I got it from Reddit. It was for Google searches. But it seems to work on startpage as well.

In the past couple of days, I've learned more on how to use wildcard like approaches on Ublock.

linlinxza commented 1 month ago

Now I got my list for search results working. If I can get the same effect for image results, then it would be perfect.