this post was submitted on 28 Apr 2024
45 points (94.1% liked)

No Stupid Questions

35808 readers
2079 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

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.

top 29 comments
sorted by: hot top controversial new old
[–] viking@infosec.pub 8 points 6 months ago (1 children)

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: https://greasyfork.org/en/scripts/471718-lemmy-post-keyword-filter

[–] Thorny_Insight@lemm.ee 6 points 6 months ago (1 children)

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

[–] Andromxda@lemmy.dbzer0.com 2 points 6 months ago* (last edited 6 months ago) (1 children)

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@lemmy.world 1 points 6 months ago (1 children)

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@lemmy.dbzer0.com 1 points 6 months ago (1 children)

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@lemmy.world 2 points 6 months ago

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

[–] Crackhappy@lemmy.world 3 points 6 months ago (5 children)

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?

[–] Thorny_Insight@lemm.ee 21 points 6 months ago (2 children)

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.

[–] Crackhappy@lemmy.world 10 points 6 months ago (1 children)

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@programming.dev 8 points 6 months ago (1 children)

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@lemmy.world 2 points 6 months ago

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?

[–] jimmydoreisalefty@lemmy.world 5 points 6 months ago

Thanks for taking the time to help a fellow user!

Great explaination and straight to the point!

[–] redcalcium@lemmy.institute 5 points 6 months ago* (last edited 6 months ago)

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.

[–] pinchcramp@lemmy.dbzer0.com 4 points 6 months ago* (last edited 6 months ago)

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.

[–] TrickDacy@lemmy.world 3 points 6 months ago (1 children)

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

[–] Crackhappy@lemmy.world 2 points 6 months ago (1 children)
[–] jimmydoreisalefty@lemmy.world -1 points 6 months ago (1 children)

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@lemmy.world 2 points 6 months ago (4 children)

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

[–] Andromxda@lemmy.dbzer0.com 2 points 6 months ago

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

[–] Fal@yiffit.net 1 points 6 months ago

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

[–] TrickDacy@lemmy.world 1 points 6 months ago

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.

[–] GBU_28@lemm.ee 0 points 6 months ago

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

[–] thermal_shock@lemmy.world 3 points 6 months ago

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

[–] d00ery@lemmy.world 2 points 6 months ago* (last edited 6 months ago)

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: https://help.adblockplus.org/hc/en-us/articles/360062733293-How-to-write-filters#regexps

[–] Resistentialism@sopuli.xyz 1 points 6 months ago (1 children)

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@lemm.ee 3 points 6 months ago (1 children)

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@sopuli.xyz 2 points 6 months ago (1 children)

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?

[–] Thorny_Insight@lemm.ee 2 points 6 months ago* (last edited 6 months ago) (1 children)

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

[–] Resistentialism@sopuli.xyz 1 points 6 months ago

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