Last active
August 16, 2019 15:52
-
-
Save myfonj/7355c0887c2e6bc46dd33c26b46904c9 to your computer and use it in GitHub Desktop.
🧹 Sweep Stickies 🧹
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:((u,n,s,t,i,c,k)=>n.querySelectorAll('*').forEach(e=>{true&&(/fixed|sticky/.test((c=getComputedStyle(e))[s])||(/absolute/.test(c[s])&&Number(c.zIndex)>t))&&e!==n.documentElement&&e!==(k=n.body)&&k.contains(e)&&e.parentNode.removeChild(e)||/hidden/.test(c[u])&&e.style.setProperty(u,'auto','important')}))('overflow',document,'position',1111) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((u, n, s, t, i, c, k) => n.querySelectorAll('*').forEach(e => { | |
true | |
&& ( /fixed|sticky/.test((c = getComputedStyle(e))[s]) || (/absolute/.test(c[s]) && Number(c.zIndex) > t) ) | |
&& e !== n.documentElement | |
&& e !== (k = n.body) | |
&& k.contains(e) | |
&& e.parentNode.removeChild(e) | |
|| /hidden/.test(c[u]) | |
&& e.style.setProperty(u, 'auto', 'important') | |
}))('overflow', document, 'position', 1111) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.networkworld.com/article/2285951/undocumented-firefox-tweaks.html - html and body have 100% height, html hasn't overflow set, still not scroling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment