Hacker News new | ask | show | jobs
by Robin_Message 495 days ago
Change map to forEach?
1 comments

document.querySelectorAll('body *').forEach(e=>{if (["fixed","sticky"].includes(getComputedStyle(e).position)) e.remove()});