Difference between revisions of "MediaWiki:Common.js"

From X-Cart 4 Classic
Jump to: navigation, search
m
m (No CrossSiteScripting now)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 
// install [[Wikipedia: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>'); */
  
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 
// importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
 
// importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
 
// + '&action=raw&ctype=text/javascript');
 
// + '&action=raw&ctype=text/javascript');

Latest revision as of 09:24, 4 April 2018

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

// install [[Wikipedia: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
// importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
// + '&action=raw&ctype=text/javascript');