Re:GDPR adtech complaints keep stacking up in Europe
by JadeNB on Monday May 20, 2019 @01:03PM
(#19962480)
Or, on a purely ad hoc basis, McDiarmid's "Kill Sticky Headers" (https://alisdair.mcdiarmid.org/kill-sticky-headers).
[ Parent
| on HN ]
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.
Re:GDPR adtech complaints keep stacking up in Europe
by kissgyorgy on Monday May 20, 2019 @01:11PM
(#19962559)
Wow, this makes Medium almost readable! Thanks!
Re:GDPR adtech complaints keep stacking up in Europe
by nostalgk on Monday May 20, 2019 @01:34PM
(#19962819)
Ugh, Medium is the only site I've had to consistently break out the "Block Element" button with. I don't even mind ads and I'm happy to leave them on sites that I want to support, but Medium is an ugly beast with all of the headers and footers.
I still frequent it for work, there's lots of great stories, but it's almost insufferable.
Re:GDPR adtech complaints keep stacking up in Europe
by JadeNB on Monday May 20, 2019 @02:15PM
(#19963337)
> Medium is an ugly beast with all of the headers and footers.
They don't mind that you feel that way; they still want to make it official.