MediaWiki:Common.js
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 3: | Line 3: | ||
document.write(url); | document.write(url); | ||
var simple=/simple/i; | var simple=/simple/i; | ||
− | alert(url.match(simple)); | + | document.write(typeof(url)); |
+ | //alert(url.match(simple)); |
Revision as of 00:02, 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(typeof(url)); //alert(url.match(simple));