Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Shane/bsgbook.js

From the only original and legitimate Battlestar Wiki: the free-as-in-beer, non-corporate, open-content encyclopedia, analytical reference, and episode guide on all things Battlestar Galactica. Accept neither subpar substitutes nor subpar clones.
Revision as of 21:43, 13 April 2006 by Shane (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
<pre><nowiki>


function addDeleteSummary() {
  
}
addOnloadHook(addDeleteSummary);


addOnloadHook(
  function() { 
    addTab("javascript:addDeleteSummary()");
  }
);

function addDeleteSummary() {

  window.document.getelementbyID('wpReason').value = "Moved to new namespace";

}

if (window.addEventListener) window.addEventListener("load", addDeleteSummary, false); 
else if (window.attachEvent) window.attachEvent("onload", addDeleteSummary); 


</nowiki></pre>