Jump to content

User:Jeffthejiff/monobook.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jeffthejiff (talk | contribs) at 16:18, 28 January 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.
//[http://en.wikipedia.org/w/index.php?title=User:Jeffthejiff/monobook.js&action=raw&ctype=text/javascript&dontcountme=s refresh]

//<pre><nowiki>[[User:Lupin/popups.js]] - please include this line
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>');

popupDelay = 1;
simplePopups = false;
popupFixDabs = true;
popupRedirAutoClick = wpDiff;
popupFixRedirs = true;

//add link to top
document.addEventListener( 'load', function () {
 //make li
 var newlink-li = document.createElement('li');
 newlink-li.id = 'pt-link';

 //make a
 var newlink-a = document.createElement( 'a' );
 newlink-a.href = '/wiki/User:Jeffthejiff/Links';
 newlink-a.appendChild(document.createTextNode('my links'));
 newlink-li.appendChild(newlink-a);
 
 //add link
 document.getElementById('pt-userlink').parentNode.appendChild(newlink-li);
}, false);

//</nowiki></pre>