zlacker

[return to "My uBlock Origin filters to remove distractions"]
1. perihe+Th[view] [source] 2023-09-20 15:13:46
>>mig4ng+(OP)
Tangentially: after you've blocked a very large number of ads and sidebars, one useful enhancement is to expand whatever text elements remain, to regain use of all that now-empty whitespace. Something like so:

    :xpath(//main/div):style(min-width: 80% !important)
(I've been looking at going a step further for some sites, by annotating a "column-count:" [0] rule and making the screen look like a newspaper. (Narrow columns for readability—multiple columns for "scan-ability"). Unfortunately, there's a lot more fiddling and tuning to this than I expected: it doesn't automagically work in the way you'd hope. Modern website DOM layouts are basically Superfund sites).

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/column-coun...

[late edit]: Here's a minimal example of "column-count:" injected by uBlock (on a website where it sort-of works)—this is what I'm trying to coerce other websites into looking like:

https://i.ibb.co/k3bRwhP/example-1.webp

    theguardian.com###maincontent:style(margin-left: -28vw !important; min-width: 90vw !important; column-count: 4 !important)
    theguardian.com##div:style(border: none !important)
◧◩
2. dredmo+Ts1[view] [source] 2023-09-20 20:32:27
>>perihe+Th
I'm quite the fan of various site restylings, using both uBO and Stylus.

But often just switching to Reader Mode is the faster and preferable option.

(This isn't always an option, but frequently is.)

◧◩◪
3. smegsi+Tm2[view] [source] 2023-09-21 04:32:45
>>dredmo+Ts1
> Stylish

is that the one with a bunch of spyware on it? or is that the one that replaced the one with a bunch of spyware on it

[go to top]