4 ms·
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
by perihelions 3y ago
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-count 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 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)
- flir 3y agoAre you at the point where you should be pouring this content into RSS, and styling it as columns in a reader? (I really like the column idea, and I'm working back towards RSS, with a bunch of smart filters, being my primary way of interacting with anything I visit regularly. I never should have given it up).
- ehPReth 3y agoThe only reliable way I've found (so far) to shuttle Facebook Pages into something easily to consume (RSS) is unfortunately a paid service... even paid IFTT doesn't support a page posts -> fire webhook/email/etc sadly. Unfortunate, since some local government stuff or otherwise noteworthy stuff is... only available on Facebook. Sometimes it's available on 'X'/Twitter but often not as detailed, or it links to Facebook for more details.
- flir 3y agoGood point. I've found nothing off the shelf that will work for private groups, and that's the only bit of FB I'm interested in.
- mig4ng 3y agoThe first one is a nice trick. Sometimes websites get broken when you remove some elements. Thanks!
- dredmorbius 3y agoI'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.)
- smegsicle 3y ago> 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
- Diskutant 3y agoIt's the bad one. Stylus is the good one https://add0n.com/stylus.html https://add0n.com/stylus.html
- dredmorbius 3y agoGah! I meant "Stylus". The name similarity means I keep getting them confused. Including repeatedly on HN comments. And yes, I do know the difference: <https://news.ycombinator.com/item?id=36859978 https://news.ycombinator.com/item?id=36859978>
- dang 3y agoTypo fixed above.
- dredmorbius 3y agoThanks!
- notRobot 3y agoIt would be cool if you could figure out a way to have this work on top of FF's reader view.
- deleted 3y ago[deleted]
- WithinReason 3y agoIt's possible to style the page Reader View uses by creating new files in FF's folders somewhere...
- perihelions 3y agoThat works too! @-moz-document url-prefix(about:reader) { .container { column-count: 4; min-width: 85vw !important; margin: 0 50px 0 50px; } } https://i.ibb.co/7XT4zfs/example-2.webp https://i.ibb.co/7XT4zfs/example-2.webp It's chrome/userContent.css in the Firefox profile subdirectory, enabled by the about:config flag toolkit.legacyUserProfileCustomizations.stylesheets.