News for hackers. Stuff that matters.
Re:GDPR adtech complaints keep stacking up in Europe by ddebernardy on Monday May 20, 2019 @01:38PM (#19962875)
Slightly better implementation:

    javascript:(function(){(function(){var%20i,elements=document.querySelectorAll('body%20*');for(i=0;i<elements.length;i++){var%20p=getComputedStyle(elements[i]).position;if(p==='fixed'||p==='sticky'||p==='-webkit-sticky'){elements[i].parentNode.removeChild(elements[i]);}}})()})()
It's basically the same but it also catches `sticky` and `-webkit-sticky`, which some sites use instead of `fixed`.
Re:GDPR adtech complaints keep stacking up in Europe by JadeNB on Monday May 20, 2019 @07:02PM (#19966128)
Thank you! Indeed McDiarmid's implementation is so nearly reliable that I find myself confused and stymied when it doesn't work. I'll substitute yours and hopefully avoid confusion and stymied-ness.