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( | + | for (i in page){ |
+ | document.write(i+'<br/>'); | ||
+ | } |
Revision as of 23:53, 4 March 2010
/* Any JavaScript here will be loaded for all users on every page load. */ var url = document.location; var page = url.split('/'); for (i in page){ document.write(i+'<br/>'); }