this post was submitted on 13 Jun 2025
23 points (100.0% liked)

askchapo

23042 readers
134 users here now

Ask Hexbear is the place to ask and answer ~~thought-provoking~~ questions.

Rules:

  1. Posts must ask a question.

  2. If the question asked is serious, answer seriously.

  3. Questions where you want to learn more about socialism are allowed, but questions in bad faith are not.

  4. Try [email protected] if you're having questions about regarding moderation, site policy, the site itself, development, volunteering or the mod team.

founded 4 years ago
MODERATORS
 

The site is the nytimes.com and I'm a desktop.

Test page - https://www.nytimes.com/live/2025/06/12/world/israel-iran-us-nuclear

There's a delay (~3 seconds or so?) before they get annoying.

I poked around after using the inspector and I made some Ublock Origin filters...

[Edit - Today, I removed the code. I learned the paywall is far from soft. On article pages - my code fubar'ed the layout. Plus only the top ~1/3rd of articles appear the rest remains hidden.]

---

I have Bypass Paywalls Clean v4.1.4.0 but it's disabled for the the Times. If it's enabled the site often entirely blocks pages so I need to use Ublock - if I can.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (4 children)
nytimes.com##STYLE[data-lights="css"]

might work. If not, look through the css and find what might be doing it (if you don’t know how, paste it here and I might be able to find it), then use Stylus to override it.

A brute force method:

* {
    overflow-y: auto !important;
}

in Stylus might fix it, unless they’re doing something more complicated. But it might also add scrollbars in weird places.

[–] [email protected] 5 points 1 week ago (1 children)

I edited my post just as you were posting. I figured out a way to hide the style by just blindly trying out code I found. I have no idea what :remove() is.

nytimes.com##STYLE[data-lights="css"]:remove()

The problem is that doing that makes stuff on other pages fubar.

Stylus

If you could give me the CSS to show the scrollbar - I think I can figure out how to write it for Ublock.

look through the css

I'll look again. Maybe I missed something. I never mess with CSS anymore and I get data-overload easily.

[–] [email protected] 6 points 1 week ago* (last edited 1 week ago)

I’m guessing :remove() actually removes the element from the page and normally uBlock Origin just hides it. But yeah, it makes sense that it would mess up other styling.

Stylus is useful to have in general since it lets you tweak any site to your liking. Even on here I have a style that indents nested comments more so I can more easily discern the levels. Although you do have to deal with CSS or find someone who has already written what you want.

load more comments (2 replies)