Difference between revisions of "User:Prino/common.js"
Jump to navigation
Jump to search
(No difference)
|
Revision as of 19:52, 30 September 2015
/* JavaScript die hier wordt geplaatst heeft invloed op alle pagina's voor alle gebruikers */ /* Any JavaScript here will be loaded for all users on every page load. */ /* https://github.com/Hitchwiki/hitchwiki/issues/23 */ if ($('body.mw-special-Block')) { console.log('MediaWiki:Common.js in action'); $('#mw-input-wpDisableEmail').click(); $('#mw-input-wpHardBlock').click(); $('#mw-input-wpExpiry')[0].value = 'infinite'; $('#mw-input-wpReason')[0].value = "Spamming links to external sites - plork"; }