Hacker News new | past | comments | ask | show | jobs | submit login

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.




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)


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


The president was very insistent that we show popup ads at six different points in time, until he got home and got six popup ads, and said, “You know what? Maybe just two popups.”

— Joel Spolsky, What is the Work of Dogs in this Country? (2001): <https://www.joelonsoftware.com/2001/05/05/what-is-the-work-o...>


The OP blames "various idiot web 'designers'" for problems, but in my 30 years of being a web designer I have yet to meet one designer that wants to cause these problems. It's usually people responsible for generating revenue.


The web designers and developers are at the very least complicit. They are ultimately the ones typing in the code and hitting submit, so they at least must share the blame.


True, I'm just saying I don't think that's where the problems originate.

In my practice, I'll try a Jedi mind trick, e.g. "Trying to [state larger goal] makes a lot of sense. An even more effective way to do that is to [state alternate, non-toxic technique]."


In my career of roughly half as long, I have met plenty. Although it’s also true that it’s often people higher up who are amused by design gimmicks.


Extensions are already there: ubo, stylebot. We just have to invent a way to share user-rule snippets across these. There will always be a gray zone between trusted adblock lists included by default and some preferential things.


> We just have to invent a way to share user-rule snippets across these

Like the User-Scripts of Greasemonkey?

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


Yes.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: