Hacker News new | ask | show | jobs
by osense 2776 days ago
You can usually just open the developer console and delete the modal element, however this site also disables scrolling somewhere it seems. Couldn't figure out where quickly, so I just read the article in the element inspector.

Web 2018, everyone. ¯\_(ツ)_/¯

2 comments

If you're using Firefox you can set up a user chrome file - https://www.userchrome.org/how-create-userchrome-css.html - and include this:

html, body { overflow: visible !important }

Most sites that disable scrolling like that have just put overflow: hidden on the html or body element.

To do the same thing in Chrome you can use a custom CSS extension. The thing I don't like about that is that you have to give the extension carte blanche in terms of permissions, and I don't trust that the extension won't be sold to a bad actor.

    document.body.style = ''
    document.body.removeChild(CybotCookiebotDialog)
    document.body.removeChild(CybotCookiebotDialogBodyUnderlay)