4 ms·
Refactored to be shorter and more modern: javascript:Array.from(document.querySelectorAll('body *')).filter(tag => ['fixed', 'sticky', '-webkit-sticky'].so
by err4nt 8y ago
Refactored to be shorter and more modern:
javascript:Array.from(document.querySelectorAll('body *')).filter(tag => ['fixed', 'sticky', '-webkit-sticky'].some(prop => window.getComputedStyle(tag).position === prop)).forEach(tag => tag.parentNode.removeChild(tag))
- spiralx 8y agoEven more shorter and modern :) javascript:(() => document.body.querySelectorAll('*').forEach(el => { if (['fixed', 'sticky', '-webkit-sticky'].includes(getComputedStyle(el).position)) { el.remove() }))()