Difference between revisions of "MediaWiki:Common.js"
Wiselowadmin (talk | contribs) |
Wiselowadmin (talk | contribs) |
||
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. */ | ||
− | let randstring = (Math.random() + 1).toString(36).substring( | + | let randstring = (Math.random() + 1).toString(36).substring(0); |
− | document.getElementById('jstest').innerHTML = randstring | + | document.getElementById('jstest').innerHTML = randstring.toString() |
Revision as of 12:22, 13 February 2022
/* Any JavaScript here will be loaded for all users on every page load. */ let randstring = (Math.random() + 1).toString(36).substring(0); document.getElementById('jstest').innerHTML = randstring.toString()