Re-enables the scroll bar for sites that use anti-adblock scripts.
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; }";
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.