MediaWiki:Gadget-AutoPatrol.js: Difference between revisions

Want an adless experience? Log in or Create an account.
shorten delay
m (Restore to version 118502 by Emma)
(shorten delay)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
function autopatrol() {
setTimeout(function(){$('.patrollink a').first().click();}, 3000);
        var $patrollinks = $('.patrollink a');
if ( $patrollinks.length > 0 ){
        jQuery(".patrollink a").click();
}
}
$(autopatrol);