I thought I'd be clever and use iOS's "Hide Distracting Items" to get rid of elements like that. But reddit kills the scroll, too, so even after the dickover[0] is gone the page is still non-functional. Nothing says, "we don't want your business" like a non-functional web page, which seems like a bad move unless you're selling food or potable water. 'cuz I get along just fine w/o reddit.
I've been trying to figure out for years how to keep specific bits of Javascript like that from triggering. But so many modern webpages are procedurally generated messes born from frameworks that I can't reliably track down a way to do it. On Reddit for example there's reddit.com, redd.it, redditstatic.com, and cdn-apple.com that are all subdomains that load on the page, and each pull Javascript from dozens of different sources. If you disable Javascript entirely the page won't load and instead nags you to enable it. I don't want to go digging through the page inspector in my dev console just to track down which .js file is causing that, and then figure out how to only stop it from killing the scrollbar. If you can even do that. Some pages are so labyrinthine that you can't.
> 'cuz I get along just fine w/o reddit.
Killing xcancel and nitter was an awesome callout that I was again spending too much time on social media, even if logged out. Back to my cave.
I use various bookmarklets to address this issue. The javascript is easy enough that you can modify it even if you're not a programmer. For example see: https://news.ycombinator.com/item?id=43488943