3 ms·
A nag popup where the dismiss button just changes itself instead of dismissing the window? Oof, that's a new one.
by lmm 3y ago
A nag popup where the dismiss button just changes itself instead of dismissing the window? Oof, that's a new one.
- bxparks 3y agoI didn't even realize that "Whatever" was the dismiss button. The Kill Sticky bookmarklet is your friend: https://alisdair.mcdiarmid.org/kill-sticky-headers/ https://alisdair.mcdiarmid.org/kill-sticky-headers/ There's a newer version, but it breaks a number of sites for me, so I don't use it: https://github.com/t-mart/kill-sticky https://github.com/t-mart/kill-sticky The internet is a hostile place without Kill Sticky, uBlock Origin, and uBlock Matrix.
- weaksauce 3y agoi customized the first one or one very similar to it to remove the "sticky" ones and also to remove the ability of the page to stop you from scrolling as some overlays do. I think it's a large improvement but there's nothing stopping you from having multiple of them(not well formatted here unfortunately but it should be fine to just copy and paste as a bookmarklette): javascript:( function(){ let i, elements = document.querySelectorAll('body *'); for (i = 0; i < elements.length; i++) { if(getComputedStyle(elements[i]).position === 'fixed' || getComputedStyle(elements[i]).position === 'sticky') { elements[i].parentNode.removeChild(elements[i]); } } document.body.style.overflow = "auto"; document.body.style.position = "static"; })()
- langsoul-com 3y agoYeah, as if the popup spam wasn't enough, now it asks for confirmation to close...
- remkop22 3y agoI immediately closed the tab away as soon as it asked if I was sure.
- davestewart 3y agoFair point! Consider it fixed