MediaWiki:Common.js
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (Created page with '- →Any JavaScript here will be loaded for all users on every page load.: document.write(document.location);') |
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; |
+ | var page = url.split('/'); | ||
+ | document.write(page[5]); |
Revision as of 23:52, 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[5]);