- 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:Mr Jonzz/monobook.js: Difference between revisions
Jump to navigation
Jump to search
imported>Schnookums |
imported>Schnookums |
(4 intermediate revisions by the same user not shown) | |
(No difference)
|
Latest revision as of 13:18, 27 March 2014
var script = document.createElement('script');
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js';
script.type = 'text/javascript';
document.getElementsByTagName('head') [0].appendChild(script);
$('body') .ready(function () {
var c = 5;
var i = setInterval(function () {
$('iframe') .remove();
$('div').each (function () {
if ($ (this).css('z-index') == 10000) {
$ (this).remove ();
}
});
}, 500);
if (--c == 0) {
clearInterval (i);
}
document.title = document.title + ' - ready';
});