User: Markhurd/common.js
< User:Markhurd (Done for my purposes...) |
(All my scripts should be independent of skin) |
||
Line 1: | Line 1: | ||
// [[wikipedia:User:Lupin/popups]] | |||
importScriptURI("http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript"); | |||
userHideAllSubsequent=true; | |||
// [[User:Markhurd/hidetopcontrib.js]] | |||
document.write('<script type="text/javascript" src="' | |||
+ 'http://www.wikimedia.org.au/w/index.php?title=User:Markhurd/hidetopcontrib.js' | |||
+ '&action=raw&ctype=text/javascript"></script>'); | |||
// when id="submitSpam" onclick="document.getElementById('wpComment').style.display='none';form.elements[11].focus()" | // when id="submitSpam" onclick="document.getElementById('wpComment').style.display='none';form.elements[11].focus()" | ||
Revision as of 02:36, 31 July 2013
// [[wikipedia:User:Lupin/popups]]
importScriptURI("http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript");
userHideAllSubsequent=true;
// [[User:Markhurd/hidetopcontrib.js]]
document.write('<script type="text/javascript" src="'
+ 'http://www.wikimedia.org.au/w/index.php?title=User:Markhurd/hidetopcontrib.js'
+ '&action=raw&ctype=text/javascript"></script>');
// when id="submitSpam" onclick="document.getElementById('wpComment').style.display='none';form.elements[11].focus()"
addOnloadHook(function () {
if(wgCanonicalSpecialPageName == 'ConfirmAccounts')
{
$('#submitSpam').click(function() {
document.getElementById('wpComment').style.display='none';
this.form.elements[11].focus();
});
};
});