Hacker News new | ask | show | jobs
by ProtoAES256 1092 days ago
For a circumvention method, I suggest using the following script

javascript:var r="html,body{overflow:auto !important;}"; var s=document.createElement("style"); s.type="text/css"; s.appendChild(document.createTextNode(r)); document.body.appendChild(s); void 0;

I bookmarked the script and click it whenever uBo blocks the site popup but not enabling the scroll. It works most of the time in my quite long usage.

Though I agree that we have a bigger problem than the scrolling on hand.

1 comments

This can be automated with stylish (or fork) or tampermonkey. I've used to run a userscript on every page to prevent it from intercepting ESC, thanks to squarespace making ESC navigate you away from the current page to the site login. Thankfully the site I used to visit is no longer hosted by squarespace and they seem to have gotten it together to stop intercepting it elsewhere.
This script sometimes break the normal flow of interactive type pages, so I don't think it is that applicable to all pages. Great thinking though!