1
Fork 0

tvtropes: initial version

This commit is contained in:
Conduitry 2020-04-11 12:02:06 -04:00
parent 8c29286ec7
commit b4ace0c52d
2 changed files with 12 additions and 0 deletions

View file

@ -1,6 +1,7 @@
# Userscripts
* [e621 thing](https://chor.date/e621.user.js) - A script to make browsing e621.net while not signed in more convenient, and to work around the global blacklist forced on anonymous users.
* [TV Tropes thing](https://chor.date/tvtropes.user.js) - A script to remove the "This is page #x you have viewed this month without ads" banner.
## License

11
src/tvtropes.user.js Normal file
View file

@ -0,0 +1,11 @@
// ==UserScript==
// @name TV Tropes thing
// @namespace https://chor.date
// @description A script to remove the "This is page #x you have viewed this month without ads" banner.
// @match https://tvtropes.org/*
// @icon https://static.tvtropes.org/img/icons/favicon.ico
// ==/UserScript==
const style = document.createElement('style');
style.textContent = 'div[style*="z-index: 100001"] { display: none; }';
document.body.appendChild(style);