Jump to content

User:Account created to post on Reference Desk/monobook.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*for (var i=0; i<3; i++) {
 window.location='http://en.wikipedia.org/wiki/Special:Random';
 window.location.href = document.getElementById('ca-edit').href;
}




/*function editStuff() {
 for (var i=0; i<3; i++) {
   window.location='http://en.wikipedia.org/wiki/Special:Random';
   window.location.href = document.getElementById('ca-edit').href;
 }
}*/

//editStuff('http://en.wikipedia.org/wiki/Special:Random');

/*Functions
function goToURL(url) {
 window.location=url;
}

function editPage() {
  window.location.href = document.getElementById('ca-edit').href;
}

//Running the functions
for (var i=0; i<3; i++) {
 goToURL('http://en.wikipedia.org/wiki/Special:Random');
 editPage();
}
*/
*/