Jump to content

User:Sampo Torgo/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sampo Torgo (talk | contribs) at 09:25, 31 August 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
// Script from [[User:Lupin/recent2.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


function addStrikeoutButton() {

    editingTools = document.getElementById('toolbar');

    if (editingTools != null)  {

        StrikeTextButton = "  <a href=\"javascript:insertTags('<s>','</s>','Insert text here');\"><img src=\"/media/wikipedia/en/c/c9/Button_strike.png\" alt=\"Strike\" title=\"Strike-through text\"></a>";
 
        editingTools.innerHTML = editingTools.innerHTML + StrikeTextButton;
    }
}

window.onload = addStrikeoutButton;


// [[User:Lupin/popups.js]]

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


// [[User:Pilaf/livepreview.js]]
wpUserName   = '<b><font color="purple"><font style="font-family: wretched" color="#461D7C">[[User:Sampo_Torgo|Sampo]]</font></font><font style="font-family: wretched" color="#E9B200"> Torgo</font></b> <sup><font style="font-family: Tahoma" color="#8CB811">[[User talk:Sampo_Torgo|[talk]]]</font></sup> [[Image:Flag of Acadia.svg|20px|]]';   // User name to display in signatures
wpShowImages = true;      // Enable downloading and displaying of images
document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
window.onload = Main;
function Main()
{
  LivePreviewInstall();
}