3 ms·
improved 'remove sticky', some websites set overflow on BODY element itself, or get cute with whole document class, this will catch those. javascript: (fun
by rasz 6y ago
improved 'remove sticky', some websites set overflow on BODY element itself, or get cute with whole document class, this will catch those.
javascript: (function() {
void([].forEach.call(document.querySelectorAll('body*'), e => /fixed|sticky/.test(getComputedStyle(e).position) && e.parentNode.removeChild(e)));
document.body.style.overflow = 'auto';
document.body.style.height = 'auto';
document.all[0].removeAttribute("class")
})()