User:Bruno/common.js: Difference between revisions

From Opus-Info
Jump to navigation Jump to search
No edit summary
(Undo revision 6697 by Bruno (talk))
Tag: Undo
Line 1: Line 1:
// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
//(function ()
(function ()
//{
{
// var script = document.createElement('script');
var script = document.createElement('script');
// script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
// script.async = true;
script.async = true;
// document.getElementsByTagName('head')[0].appendChild(script);
document.getElementsByTagName('head')[0].appendChild(script);
// }
}
//) ();
) ();

Revision as of 12:58, 17 March 2021

// 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);
 }
) ();