MediaWiki:Gadget-AutoPatrol.js: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created page)
 
mNo edit summary
Line 5: Line 5:
};
};
};
};
setTimeout("CallButton()",5000);
$(autopatrol);
$(autopatrol);

Revision as of 13:11, March 19, 2017

function autopatrol() {
        var $patrollinks = $('.patrollink a');
	if ( $patrollinks.length > 0 ){
        jQuery(".patrollink a").click();
	};
};
setTimeout("CallButton()",5000);
$(autopatrol);