Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
Content Warning: JavaScript

Stepan Bolotnikov Stopa

🙃
Content Warning: JavaScript
View GitHub Profile
@Stopa
Stopa / thanks-for-reading-ny-times.js
Last active Feb 27, 2020
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
View thanks-for-reading-ny-times.js
document.getElementById('gateway-content').remove();
let a = app.children[0].children[0];
a.removeAttribute('class');
[...a.children].slice(-1)[0].remove();