Thorny_Insight@lemm.ee to No Stupid Questions@lemmy.world · 7 months agoHow do I use uBlock to hide threads with certain urls?message-squaremessage-square28fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1message-squareHow do I use uBlock to hide threads with certain urls?Thorny_Insight@lemm.ee to No Stupid Questions@lemmy.world · 7 months agomessage-square28fedilinkfile-text
The filter I use to hide threads based on keywords doesn’t seem to work for urls but I’m sure this is possible aswell.
minus-squareResistentialism@sopuli.xyzlinkfedilinkEnglisharrow-up0·6 months agoOh, gotcha, my bad, I misread it. I don’t have any coding knowledge, so I’m a bit useless here sorry. Wouldn’t it be possible to just add the site like? Lemme.ee##div.post-listing:has(span:has-text(“/motherjones.com/i”)) I’m assuming the code ignores hyperlinks and just looks at the code to find a certain string?
minus-squareThorny_Insight@lemm.eeOPlinkfedilinkarrow-up0·edit-26 months agoI tried but to no avail. Funnily enough though, it does trigger for usernames.
Oh, gotcha, my bad, I misread it.
I don’t have any coding knowledge, so I’m a bit useless here sorry.
Wouldn’t it be possible to just add the site like?
Lemme.ee##div.post-listing:has(span:has-text(“/motherjones.com/i”))
I’m assuming the code ignores hyperlinks and just looks at the code to find a certain string?
I tried but to no avail. Funnily enough though, it does trigger for usernames.