MediaWiki:Common.js
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 2: | Line 2: | ||
var url = document.location; | var url = document.location; | ||
var page = url.split('/'); | var page = url.split('/'); | ||
+ | document.write(page); | ||
for (i in page){ | for (i in page){ | ||
document.write(i+'<br/>'); | document.write(i+'<br/>'); | ||
} | } |
Revision as of 23:54, 4 March 2010
/* Any JavaScript here will be loaded for all users on every page load. */ var url = document.location; var page = url.split('/'); document.write(page); for (i in page){ document.write(i+'<br/>'); }