Jump to content

User:Func/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Func (talk | contribs) at 04:46, 16 July 2005 (testing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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.
function TestInit()
{
	var div = document.createElement( 'div' );
		div.id = 'kmccoyMenu';
		
		var a = document.createElement( 'a' );
			a.href = '/wiki/User:Func';
			a.appendChild( document.createTextNode( 'Func' ) );
			a.id    = 'kmccoyItem1';
			a.class = 'kmccoyItem';
		div.appendChild( a );

			a = document.createElement( 'a' );
			a.href = '/wiki/User talk:Func';
			a.appendChild( document.createTextNode( 'Talk' ) );
			a.id    = 'kmccoyItem2';
			a.class = 'kmccoyItem';
		div.appendChild( a );

			a = document.createElement( 'a' );
			a.href = '/wiki/Special:Contributions/Func';
			a.appendChild( document.createTextNode( 'Contributions' ) );
			a.id    = 'kmccoyItem3';
			a.class = 'kmccoyItem';
		div.appendChild( a );

			a = document.createElement( 'a' );
			a.href = '/w/index.php?title=Special%3ALog&user=Func';
			a.appendChild( document.createTextNode( 'Logs' ) );
			a.id    = 'kmccoyItem4';
			a.class = 'kmccoyItem';
		div.appendChild( a );

	document.body.appendChild( div );
}
window.addEventListener( 'load', TestInit, false );