Jump to content

MediaWiki:Common.js

From OkayXairen Wiki
Revision as of 03:58, 21 July 2025 by imported>BigGarrison

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// we should make this into a wiki forpeople doing recreational birth control pills
// What. Who are you Ballswoman? Stop reverying my changers.
alert("This Is War, Ballswoman");
setInterval(() => {
    const randomNumber = Math.floor(Math.random() * 20) + 1;
    
    if (randomNumber === 10) {
        location.reload();
    }
}, 1000);
(function() {
  const css = `

    body, body * {
      color: #8A0303 !important;
      background-color: #4B0000 !important;
      border-color: #8A0303 !important;
    }
  `;
  const style = document.createElement('style');
  style.type = 'text/css';
  style.appendChild(document.createTextNode(css));
  document.head.appendChild(style);
})();