Live data from Hacker News

My uBlock Origin filters to remove distractions

github.com

31–40 of 190 posts

Re: My uBlock Origin filters to remove distractions

#33
I do a lot of the same things to remove sidebars, navigation, suggestions, search, etc from various sites. There are a couple of web comics where I nuke everything but the image and the next/previous navigation links (Order of the Stick, Schlock Mercenary, etc).

Re: My uBlock Origin filters to remove distractions

#34

A while back I worked out how to erase the pay-to-win monetization spoor from Reddit and Twitter, reddit.com##.awarding-icon reddit.com##.awardings-bar reddit.com##.give-gold-button twitter.com##:xpath(//div[contains(@style, "hex-hw-shapeclip-clipconfig")]):style(clip-path: circle(50%) !important)

Reddit has ended awards (for now). The filter is still applicable for older posts though.

Re: My uBlock Origin filters to remove distractions

#35
post #8

Earlier quoted context omitted.

What does the last one do?

I don't know if they still do it, but at the time Twitter charged money to display user avatars in a larger size, and styled as a hexagon. I think they were NFT tie-ins or something? They were difficult to ignore, so I wrote a snippet to turn hexagons back into circles. [edit]: https://news.ycombinator.com/item?id=30012904 ( "Twitter Rolls Out NFT Profile Pictures" )

Never seen it, if I do and it bothers me I will keep in mind and add this too. Thanks!

Re: My uBlock Origin filters to remove distractions

#36
post #18

This one gets rid of the Login With Google popups that have infested most corners of the internet: accounts.google.com/gsi/iframe It doesn't break the login with google button, so you can still login with your google account, if you must.

Will try it and might add it too, I find those annoying. Thanks!

Re: My uBlock Origin filters to remove distractions

#38
post #2

Needs blocks for Stack Exchange hot questions

Here are the rules I’ve been using for Stack Exchange; you can see that I have been doing this for a while. Some of these may no longer even be necessary…

    ! 5/8/2018, 9:16:29 AM https://emacs.stackexchange.com/questions/13080/reloading-directory-local-variables
    emacs.stackexchange.com###overlay-header
    ! 3/31/2020 https://emacs.stackexchange.com
    emacs.stackexchange.com###divQuestionFollowFeaturePopover
    ! 2021-04-14 https://emacs.stackexchange.com
    emacs.stackexchange.com##.js-teams-promo
    ! 2021-08-14 https://emacs.stackexchange.com
    emacs.stackexchange.com###hot-network-questions
    ! emacs.stackexchange.com###sidebar
    ! 2021-10-01 https://emacs.stackexchange.com
    emacs.stackexchange.com##.js-create-team-cta
    ! 2022-09-18 https://emacs.stackexchange.com
    emacs.stackexchange.com##.s-sidebarwidget:not(.js-review-actions)
    emacs.stackexchange.com##.js-feed-link
    ! 2022-12-18 https://emacs.stackexchange.com
    emacs.stackexchange.com##.icon-winterbash
    ! 2023-07-28 https://emacs.stackexchange.com
    emacs.stackexchange.com##.js-announcement-banner

Re: My uBlock Origin filters to remove distractions

#40
Tangentially related: Has anyone tried the Orion Browser by Kagi for iOS?

https://browser.kagi.com/

They claim to support Firefox and Chrome extensions (specifically, uBlock Origin). It's in beta. I'm surprised Apple hasn't blocked it yet, but I'd consider paying for a developer account just to install it on my phone (assuming it works).

Post reply on HN