News for hackers. Stuff that matters.
Re:The 'Fuck You' Pattern by EdwardDiego on Sunday June 25, 2023 @08:52PM (#36474333)
They're getting sneaky about where the overflow:hidden is applied these days, and one site I encountered had JS that polled that attribute and reapplied it if it was modified.

I was impressed at their commitment to dickery.

Re:The 'Fuck You' Pattern by efreak on Monday June 26, 2023 @12:26AM (#36475719)

    Array.from(document.body.querySelectorAll('html,body, body > *, body > * > *')).forEach(e=>e.style.overflow='default!important') 
Adjust number of levels as necessary. Adjust overrides as necessary. Array.from is probably overkill, but allows for more advanced queries like `e.parentNode.textContent.trim().toLowerCase().indexOf('sponsored')==0`