Resistentialism,

Is UBlacklist what you’re looking for? I don’t fully get the question, but I know that blocks urls from search engines (it supports Google, duckduckgo and others, but you’d need to double check.)

Thorny_Insight,

I have custom rule for uBlock Origin that hides threads from my feed containing the specified keyword. In this case the word is “Elon”

lemm.ee##div.post-listing:has(span:has-text(“/elon/i”))

I’m looking for a similar string of code(?) that will block threads with a link to specific web pages, for example motherjones.com

Resistentialism,

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#.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?

Thorny_Insight,

I tried but to no avail. Funnily enough though, it does trigger for usernames.

Resistentialism,

Well, hey, at least you know how to do that now!

Crackhappy,
@Crackhappy@lemmy.world avatar

I am going to ask a stupid question here, in no stupid questions. I have never used an ad blocker. I’ve been on the internet since before the world wide web was invented. What, exactly, is the purpose of ad blockers?

TrickDacy,

Are you a bot, or a troll? Or just not understand English? Because it’s in the name.

Crackhappy,
@Crackhappy@lemmy.world avatar

Regrettably I am neither.

jimmydoreisalefty,
@jimmydoreisalefty@lemmy.world avatar

Hope this helps!

Ad blocking or ad filtering is a software capability for blocking or altering online advertising in a web browser, an application or a network. This may be done using browser extensions or other methods.

Crackhappy,
@Crackhappy@lemmy.world avatar

My original question was badly framed. I know what ad blockers are. I just don’t know why people use them.

Fal,
@Fal@yiffit.net avatar

The web is literally unusable without ad blockers. Your question is like asking “why should I stop bashing my face into the wall?”

GBU_28,

You should hope to never see an ad in your whole life. Obviously that’s impossible, but efforts should be taken to get there

TrickDacy,

So you somehow have never noticed how miserable ads make life/the Internet? Even if you ignore all the privacy and overconsumption concerns, you still have the fact that ads slow down websites tremendously, and often literally obscure content from view. Somehow you’ve used the Internet for decades and that’s all lost on you. Trolldar is going off hard.

Andromxda,
@Andromxda@lemmy.dbzer0.com avatar

Because ads are annoying as fuck, slow down websites and collect all kinds of data from your browser to analyze your web browsing behavior and then sell that information to the highest bidder

Thorny_Insight,

It does what the name suggests: it blocks ads on web pages leaving you with a lot cleaner interface. On some pages the change is purely cosmetic but others like YouTube are completely unusable without one. Why don’t just give it a shot and see by yourself. Look for the uBlock Origin extension for your browser and see how you like it. You can easily toggle it on and off and see how different sites look. It takes literally 30 seconds to install.

jimmydoreisalefty,
@jimmydoreisalefty@lemmy.world avatar

Thanks for taking the time to help a fellow user!

Great explaination and straight to the point!

Crackhappy,
@Crackhappy@lemmy.world avatar

Thanks, Thorny Insight. I’ve never felt the need to install an ad blocker, but perhaps I should, just to see the internet the way everyone else does these days.

ChairmanMeow,
@ChairmanMeow@programming.dev avatar

Definitely do! uBlock Origin is the best one around, and it’s completely free. Even without configuring anything the defaults block 99% of annoying ads.

meekah,
@meekah@lemmy.world avatar

I don’t think I’ve ever seen ads with ublock on Firefox. Just the reminders that I am using an ad block and whether I could turn it off, pretty please?

pinchcramp,
@pinchcramp@lemmy.dbzer0.com avatar

Do you ever visit a website and feel like you have to put on a condom or else you get something nasty?

An ad blocker, that’s the condom.

redcalcium,

Lucky you! Just install one right now and experience a less annoying, faster loading web for the first time! Also install consent-o-matic while you’re at it.

thermal_shock,

load ublock origin, then reload any website that had a lot of ads on it. huge difference

d00ery,

I know you’ve asked for uBlock Origin instructions but I couldn’t find the RegEx option for uBlock. However the concept should be the same: help.adblockplus.org/…/360062733293-How-to-write-…

viking,
@viking@infosec.pub avatar

You mean for Lemmy, or general web browsing?

If it’s for Lemmy, I can’t help you with ublock, but this Tampermonkey script works perfectly: greasyfork.org/…/471718-lemmy-post-keyword-filter

Thorny_Insight,

Yeah I mean Lemmy. I’d rather not install new add-ons when I’m pretty sure uBlock Origin can do this aswell.

Andromxda, (edited )
@Andromxda@lemmy.dbzer0.com avatar

Userscript loaders are fine, they don’t do anything on their own, they just load custom user-defined JavaScript on a specified website. Just make sure not to use Tampermonkey, it’s proprietary. Use Violentmonkey instead, it’s completely open source on GitHub.

Simyon,

That’s the first time I’ve heard that Tampermonkey is collecting user data. Could you please elaborate on that? I’m currently using it and will definitely switch if that is the case.

Andromxda,
@Andromxda@lemmy.dbzer0.com avatar

Oh I’m very sorry, I confused Tampermonkey with another extension that stole user data. Tampermonkey is still proprietary though, which was my reason for avoiding it. Violentmonkey works just as well, but it’s open source.

Simyon,

Ah. Alright, definitely will switch to the open source alternative.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • nostupidquestions@lemmy.world
  • DreamBathrooms
  • magazineikmin
  • InstantRegret
  • hgfsjryuu7
  • vwfavf
  • Youngstown
  • slotface
  • thenastyranch
  • ngwrru68w68
  • rosin
  • kavyap
  • PowerRangers
  • Durango
  • khanakhh
  • anitta
  • mdbf
  • tacticalgear
  • ethstaker
  • modclub
  • osvaldo12
  • everett
  • tester
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • cisconetworking
  • provamag3
  • All magazines