Skip to content

Instantly share code, notes, and snippets.

@mvrozanti
Created January 16, 2021 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvrozanti/5983ff6ae63430a7a5b00ecc506046a0 to your computer and use it in GitHub Desktop.
Save mvrozanti/5983ff6ae63430a7a5b00ecc506046a0 to your computer and use it in GitHub Desktop.
Globo TV nativefier
setTimeout(
function(){
var bad_banner;
do {
bad_banner = document.querySelector('#cookie-banner-lgpd')
}while(!bad_banner);
bad_banner.remove()
document.querySelector('#app > div > div > div > header').remove().remove()
}, 1000)
nativefier https://globoplay.globo.com/agora-na-tv/ --inject clear_screen.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment