CAZypedia needs your help! We have many unassigned GH, PL, CE, AA, GT, and CBM pages in need of Authors and Responsible Curators.
Scientists at all career stages, including students, are welcome to contribute to CAZypedia. Read more here, and in the 10th anniversary article in Glycobiology.
New to the CAZy classification? Read this first.
*
Consider attending the 15th Carbohydrate Bioengineering Meeting in Ghent, 5-8 May 2024.

Difference between revisions of "MediaWiki:Common.js"

From CAZypedia
Jump to navigation Jump to search
 
Line 5: Line 5:
 
//+ '//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>');
 +
 +
// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 +
(function ()
 +
{
 +
var script = document.createElement('script');
 +
script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
 +
script.async = true;
 +
document.getElementsByTagName('head')[0].appendChild(script);
 +
}
 +
) ();

Latest revision as of 09:54, 28 May 2018

/* 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>');

// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
(function ()
{
	var script = document.createElement('script');
	script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
	script.async = true;
	document.getElementsByTagName('head')[0].appendChild(script);
 }
) ();