←back to thread

569 points todsacerdoti | 1 comments | | HN request time: 0.21s | source
Show context
hackingonempty ◴[] No.42599363[source]
> I don't keep a "dick bar" that sticks to the top of the page to remind you which site you're on.

I use an extension called "Bar Breaker" that hides these when you scroll away from the top/bottom of the page.[0] More people should know about it.

[0] https://addons.mozilla.org/en-US/firefox/addon/bar-breaker/

replies(4): >>42599387 #>>42599547 #>>42599856 #>>42601324 #
imoreno ◴[] No.42599547[source]
It's annoying that every time "they" come up with a new antipattern, "we" have to add yet another extension to the list of mandatory things for each browser. And it also promotes browser monopoly because extensions get ported slowly to non-mainstream browsers.

It would be better to have a single extension like uBlock origin to handle the browser compatibility, and then release the countermeasures through that. In fact, ublock already has "Annoyances" lists for things like cookie banners, but I don't think it includes the dick bar unfortunately.

Incidentally, these bars are always on sites where the navbar takes 10% vertical space, cookie banner (full width of course) takes another 30% at the bottom, their text is overspaced and oversized, the left/right margins are huge so the text is like 50% of the width... Don't these people ever look at their own site? With many of these, I'm so confused how anyone could look at it and say it's good to go.

replies(3): >>42599918 #>>42599921 #>>42600247 #
wilkystyle ◴[] No.42599918[source]
It's not a silver bullet, but I do the following with uBlock Origin:

1. JS disabled by default, only enabled on sites I choose

2. Filter to fix sites that mess with scrolling:

    ##html:style(scroll-behavior: auto !important;)
3. Filters for dick bars and other floating elements:

    ##*:matches-css(position:fixed)

    ##*:matches-css(position:sticky)
replies(1): >>42610840 #
1. kikokikokiko ◴[] No.42610840[source]
To me, what gets rid of those annoying sticky bars that cover half the screen, is this rule:

##[class*="part of the name of the annoying class, generally sticky something"]

this rule is amazing to deal with those randomly generated class names