MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
Created page with "→Any JavaScript here will be loaded for all users on every page load.: const wackyTaglines=[ "Your face beautiful", "FREE general care for any patient in need! Just come to Cow Alley 13 and ask for Doctor Nicholas. <i>No refunds. Terms and conditions apply.</i>", "Chains of Iniquity returning soon™!" ]; getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)];" |
No edit summary |
||
| Line 5: | Line 5: | ||
"Chains of Iniquity returning soon™!" | "Chains of Iniquity returning soon™!" | ||
]; | ]; | ||
getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)]; | document.getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)]; | ||
Revision as of 10:36, 17 May 2026
/* Any JavaScript here will be loaded for all users on every page load. */
const wackyTaglines=[
"Your face beautiful",
"FREE general care for any patient in need! Just come to Cow Alley 13 and ask for Doctor Nicholas. <i>No refunds. Terms and conditions apply.</i>",
"Chains of Iniquity returning soon™!"
];
document.getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)];