blob: 7eb82e3c011533eff9f4c1ffb080e17215f2c3a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
javascript: (function(){
document.querySelectorAll("body *").forEach(function(node) {
if(["fixed","sticky"].includes(getComputedStyle(node).position)) {
node.parentNode.removeChild(node);
}
});
document.querySelectorAll("html *").forEach(function(node) {
var s=getComputedStyle(node);
if("hidden"===s["overflow"]) {
node.style["overflow"]="visible";
}
if("hidden"===s["overflow-x"]) {
node.style["overflow-x"]="visible";
}
if("hidden"===s["overflow-y"]) {
node.style["overflow-y"]="visible"}
});
var htmlNode=document.querySelector("html");
htmlNode.style["overflow"]="visible";
htmlNode.style["overflow-x"]="visible";
htmlNode.style["overflow-y"]="visible";
})();
|