Greasy Fork镜像 is available in English.

Scroll Bar Enabler

Re-enables the scroll bar for sites that use anti-adblock scripts.

< Feedback on Scroll Bar Enabler

प्रश्न/टिप्पणी

I recommend updating your enableScrolling() function with the following:

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;


Since some scripts are adding overflow:hidden on the html tag. The delay shouldn't be necessary but it doesn't exactly hurt either.

I recommend updating your enableScrolling() function with the following:

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;


Since some scripts are adding overflow:hidden on the html tag. The delay shouldn't be necessary but it doesn't exactly hurt either.

In line with this reply, the first section should add position: static (which is the default css when position isn't specified). The reason is that I saw some sites used position: fixed, which stops the page from moving as well.

var r="html,body{overflow:auto !important; position: static !important; }";

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.

长期地址
遇到问题?请前往 GitHub 提 Issues。