Misplaced Pages

User:Nscheffey/monobook.js: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Nscheffey Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 14:24, 27 June 2006 view sourceNscheffey (talk | contribs)Extended confirmed users2,278 edits added ISBN thing← Previous edit Revision as of 03:33, 17 September 2006 view source Winhunter (talk | contribs)14,068 editsm re-categorisation per CFD at Misplaced Pages:Categories for deletion/Log/2006 August 31 using AWBNext edit →
Line 18: Line 18:
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


//</nowiki>] //</nowiki>]


function externISBN() { function externISBN() {

Revision as of 03:33, 17 September 2006

// ] - please include this line 

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


//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  document.write('<script type="text/javascript" src="' 
    + 'http://en.wikipedia.org/search/?title=User:Interiot/Tool2/code.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }

//<nowiki> Admin-like RC Patrol tools

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

//</nowiki>]

function externISBN() {
  for (var i = 0; i < document.links.length; i++) 
    {       
         var ln = document.links.href.match(/isbn=(.*)/);
         if (ln) {
           document.links.href='http://www.amazon.com/exec/obidos/ASIN/'+RegExp.$1;
         }
    }

}

addOnloadHook(externISBN);
Category: