652
you are viewing a single comment's thread
view the rest of the comments
[-] aniki@lemm.ee 3 points 9 months ago* (last edited 9 months ago)

Twitter, instagram, facebook, reddit -- DNS blocked on my network. The addition of that simple friction to viewing those sites has completely broken me of the crutch. [Plus the Murdock-block plugin and I'm in a great place.]

[-] jtk@lemmy.sdf.org 3 points 9 months ago* (last edited 9 months ago)

I went an extra step and made myself a Firefox add-on a few years ago. It takes a regular expression, scans all element attributes for values matching the expression, and applies a given CSS style to those elements. Given a pattern like... (Holy hell, you can't really post a regular expression on lemmy, it's trying to do some markdown stuff to it, but it involves the domains of all the sites I hate like twitter.com, x.com, facebook.com, etc...), and the style visibility: hidden, all links to those sites, no matter what page I'm on, are completely removed from my internet experience. I never see them.

Edit: Oh the regex issue was actually because my add-on was filtering the elements with twitter.com, x.com, etc. as it's supposed to :) I can't even see my own comment unless I turn it off.

[-] aniki@lemm.ee 3 points 9 months ago

That's amazing! Do you have the source anywhere? I've always wanted to dabble in simple Firefox plugins

[-] jtk@lemmy.sdf.org 2 points 9 months ago

Extension: https://addons.mozilla.org/en-US/firefox/addon/ssure/

Source: https://github.com/7w0/ssure

Be warned, the UI is just a textarea that takes JSON and involves escaping characters for both JS strings and regular expressions in the same string. regex requires backslashes to escape things like '.' and JS requires backslashes to be doubled to output a single backslash ๐Ÿ˜ฌ The example escaped JSON at the bottom of the options screen should be enough to figure out how to add your own domains to the list. The only reason it's a public plugin is because it's literally impossible to just run a plugin from a local source without having to do a ton of extra steps every time you start the browser. Also, you'll occasionally get confused why things don't seem right on the internet, like when I tried to talk about this plugin and mentioned twitter.com, causing my own comment to look messed up after I posted it, because the plugin was doing exactly what I told it to do :)

[-] aniki@lemm.ee 3 points 9 months ago

Don't be surprised when you find a new fork in the morning ๐ŸŒž๐ŸŒ„

this post was submitted on 12 Dec 2023
652 points (96.3% liked)

Reddit

17469 readers
403 users here now

News and Discussions about Reddit

Welcome to !reddit. This is a community for all news and discussions about Reddit.

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

Rules


Rule 1- No brigading.

**You may not encourage brigading any communities or subreddits in any way. **

YSKs are about self-improvement on how to do things.



Rule 2- No illegal or NSFW or gore content.

**No illegal or NSFW or gore content. **



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.

Posts and comments 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.

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



Rule 7- You can't harass or disturb other members.

If you vocally 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.



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

founded 1 year ago
MODERATORS