MediaWiki:Common.js
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
− | document. | + | var url = document.location; |
− | document.write( | + | document.write(url); |
+ | var simple=/simple/i; | ||
+ | document.write(url.match(simple)); |
Revision as of 00:01, 5 March 2010
/* Any JavaScript here will be loaded for all users on every page load. */ var url = document.location; document.write(url); var simple=/simple/i; document.write(url.match(simple));