- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:Schnookums/gag
Jump to navigation
Jump to search
// ==UserScript== // @name wiki // @namespace [email protected] // @include *encyclopediadramatica* // @exclude *forum.* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js // @run-at document-start // ==/UserScript== if (window.top != window.self) { return ; } var users = [ 'User:U Mad Bro', 'User talk:U Mad Bro', ]; var count = 0; var interval = setInterval(function () { $('ul.special li.mw-line-even, ul.special li.mw-line-odd') .each(function () { for (index = 0; index < users.length; index++) { if ($(this) .html() .search(users[index]) != - 1) { //alert ($(this).html()); $(this) .remove(); } } }); $('#siteNotice') .remove(); if (count++ > 20) { clearInterval(interval); } }, 50); var interval_title = setInterval(function () { if (document.title) { document.title = document.title + ' - wiki'; clearInterval(interval_title); } }, 250);