MediaWiki:Vector-2022.js

    From Nonbinary Wiki
    Revision as of 10:34, 9 July 2022 by Ondo (talk | contribs)

    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)
    • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
    • Opera: Press Ctrl-F5.
    var picArr = ["https://static.miraheze.org/nonbinarywiki/c/c1/Neutrois.png", "https://static.miraheze.org/nonbinarywiki/thumb/c/c0/Nonbinary.png/800px-Nonbinary.png"];
    
    var myNumber = Math.floor((Math.random() * 2));
    
    document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[1] + "')";