Jump to content

User:Apollo2011/monobook.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Apollo2011 (talk | contribs)
No edit summary
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
Line 1: Line 1:
//Interiot's javascript edit counter
//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
mw.loader.load('https://en.wikipedia.org/enwiki/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Interiot/Tool2/code.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }


var book_source_URL = "http://catalog.wrlc.org/cgi-bin/Pwebrecon.cgi?SAB1=MAGICNUMBER&BOOL1=all+of+these&FLD1=ISBN+%28ISBN%29&GRP1=AND+with+next+set&SAB2=&BOOL2=all+of+these&FLD2=Keyword+Anywhere+%28GKEY%29&GRP2=AND+with+next+set&SAB3=&BOOL3=all+of+these&FLD3=Keyword+Anywhere+%28GKEY%29&PID=CVnCbhG4812KCwO0NRSrJy5rtkE&SEQ=20090919162747&CNT=25&HIST=1";
var book_source_URL = "http://catalog.wrlc.org/cgi-bin/Pwebrecon.cgi?SAB1=MAGICNUMBER&BOOL1=all+of+these&FLD1=ISBN+%28ISBN%29&GRP1=AND+with+next+set&SAB2=&BOOL2=all+of+these&FLD2=Keyword+Anywhere+%28GKEY%29&GRP2=AND+with+next+set&SAB3=&BOOL3=all+of+these&FLD3=Keyword+Anywhere+%28GKEY%29&PID=CVnCbhG4812KCwO0NRSrJy5rtkE&SEQ=20090919162747&CNT=25&HIST=1";

Latest revision as of 22:11, 26 March 2022

//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://en.wikipedia.org/enwiki/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

var book_source_URL = "http://catalog.wrlc.org/cgi-bin/Pwebrecon.cgi?SAB1=MAGICNUMBER&BOOL1=all+of+these&FLD1=ISBN+%28ISBN%29&GRP1=AND+with+next+set&SAB2=&BOOL2=all+of+these&FLD2=Keyword+Anywhere+%28GKEY%29&GRP2=AND+with+next+set&SAB3=&BOOL3=all+of+these&FLD3=Keyword+Anywhere+%28GKEY%29&PID=CVnCbhG4812KCwO0NRSrJy5rtkE&SEQ=20090919162747&CNT=25&HIST=1";
importScript('User:Lunchboxhero/externISBN.js');