New to the CAZy classification? Read this first.
Want to learn more about CAZypedia? Read the CAZypedia 10th anniversary article in Glycobiology.

Difference between revisions of "MediaWiki:Common.js"

From CAZypedia
Jump to: navigation, search
(Switching to a protocol agnostic URI to allow for loading on HTTPS connections)
Line 3: Line 3:
 
// install [[User:Cacycle/wikEd]] in-browser text editor
 
// install [[User:Cacycle/wikEd]] in-browser text editor
 
document.write('<script type="text/javascript" src="'
 
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+
+ '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
 
+ '&action=raw&ctype=text/javascript"></' + 'script>');
 
+ '&action=raw&ctype=text/javascript"></' + 'script>');

Revision as of 14:31, 13 February 2015

/* Any JavaScript here will be loaded for all users on every page load. */

// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');