Difference between revisions of "MediaWiki:Common.js"

From
Jump to: navigation, search
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 litera = (Math.random() + 1).toString(36).substring(7);
 
let litera = (Math.random() + 1).toString(36).substring(7);
console.log(litera)
+
document.getElementById('jstest').innerHTML = litera;
document.getElementById('jstest').innerHTML = litera
 

Revision as of 08:17, 19 February 2022

/* Any JavaScript here will be loaded for all users on every page load. */
let litera = (Math.random() + 1).toString(36).substring(7);
document.getElementById('jstest').innerHTML = litera;