Skip to content

Instantly share code, notes, and snippets.

@Stopa
Last active February 27, 2020 13:03
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 Stopa/9c734cca09ec526272b45d339d4c2be8 to your computer and use it in GitHub Desktop.
Save Stopa/9c734cca09ec526272b45d339d4c2be8 to your computer and use it in GitHub Desktop.
Ever get annoyed at NYTimes' popover? Me too. Add this code as a bookmark (precede it with `javascript:` and paste it as the URL of the bookmark) and click on it whenever NYTimes dares ask you to register
document.getElementById('gateway-content').remove();
let a = app.children[0].children[0];
a.removeAttribute('class');
[...a.children].slice(-1)[0].remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment