User:Emma/common.js: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
m (Script finished, clearing page.)
 
(97 intermediate revisions by the same user not shown)
Line 1: Line 1:
addOnloadHook(function() {
        if(location.href.match(/File/) {
                document.getElementById( 'wpLeaveRedirect' ).checked = false;
        }
});


addOnloadHook(function() {
        if(wgCanonicalSpecialPageName == "Movepage" ) {
                document.getElementById( 'wpWatch' ).checked = True;
        }
});

Latest revision as of 13:01, March 19, 2017