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.

  • edge [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    7 days ago
    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.

    • InevitableSwing [none/use name]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 days ago

      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.

      • edge [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        7 days 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.

    • InevitableSwing [none/use name]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 days ago

      A brute force method:

      Ah! Now I just have to try to figure out how to squeeze that into Ublock. It can use CSS but the syntax gives me a headache. And you have to reload the page each time—

      Maybe I’ll just install Stylus.

      • edge [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 days ago

        If you get extra scroll bars in weird places, there’s a decent chance this would work instead:

        body {
            overflow-y: auto;
        }