Last active
February 14, 2021 13:07
-
-
Save imteekay/4b6269619618d553f6715b00a7dbc695 to your computer and use it in GitHub Desktop.
Remove entertainment and sports from globo page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const entertainmentTrash = document.querySelectorAll('[data-tracking-action="entretenimento"]'); | |
const sportsTrash = document.querySelectorAll('[data-tracking-action="esporte"]') | |
const trash = [...entertainmentTrash, ...sportsTrash]; | |
trash.forEach(t => t.remove()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment