4 ms·Change map to forEach?by Robin_Message 2y agoChange map to forEach?silvestrov 2y agodocument.querySelectorAll('body *').forEach(e=>{if (["fixed","sticky"].includes(getComputedStyle(e).position)) e.remove()});