5 ms·
It's pretty easy to make your own, too. I use the element zapper and picker to block Reddit's incessant demands that I use "new" reddit and get a "premium" mem
by bashinator 6y ago
It's pretty easy to make your own, too. I use the element zapper and picker to block Reddit's incessant demands that I use "new" reddit and get a "premium" membership. I also use it to block Facebook's "trending" bullshit.
- naravara 6y agoEither an element zapper or a one click sticky-header killer should honestly be standard issue features in browsers nowadays. The web would be a miserable without them, especially on mobile.
- hydroxonium 6y agoOne-click sticky-header killer via JavaScript bookmarklet https://medium.com/@jacob.tan.en/floating-elements-on-web-pages-annoying-48c4a0a5a2db https://medium.com/@jacob.tan.en/floating-elements-on-web-pa...
- bashinator 6y agoI'm just concerned that's inviting an arms race where unwelcome page elements get randomized CSS namespaces. Fuck that noise.
- chmod775 6y agoIn that case we could just match by the CSS rules' content - i.e. match all elements that have style X, Y, Z applied to them. That kind of arms race would be over real quick.
- dmurray 6y agoThe arms race is that the next time you come back to the page, the offending element has a slightly different style (randomized CSS class name, RGB values changed by 1, font size changed by 0.1...) and your browser doesn't recognise it as being the right element to block.
- dredmorbius 6y agoWhitelist, not blacklist. Which whould break CSS minifiers, but that's the point.
- chmod775 6y agoMatch by ranges so changing values by 1 doesn't work. At the end of the day a human would have to come up with an entirely alternative style for the page to defeat your filters. Pretty much any machine generated variations can also be defeated automatically by a machine. If defeating your filters takes a lot of work, and only helps until a few days later you update your filters in a few minutes, nobody is gonna bother.
- literallycancer 6y agoYou can have filters that look at parent or child elements of the randomized element or other patterns.
- FroshKiller 6y agoI hate to tell you this, but we're already there.
- janitor61 6y agoThat's already the case with sites like Twitter. In order to remove the trending pane in uBO, I had to rely on a11y attributes: ##div[aria-label="Timeline: Trending now"]
- dorgo 6y agoAnd random structure to break nth-child selectors. Even better: draw everything in a canvas.