MediaWiki:Nimbus.js

/* Any JavaScript here will be loaded for users using the Nimbus skin */

/* Random logo */ $(function { var logos = ['https://destiny.wiki.gallery/images/b/b6/Rotation_logo_speaker.png', 'https://destiny.wiki.gallery/images/4/4e/Rotation_logo_Zavala.png', 'https://destiny.wiki.gallery/images/2/2c/Rotation_logo_Cayde.png', 'https://destiny.wiki.gallery/images/4/4f/Rotation_logo_Ikora.png', 'https://destiny.wiki.gallery/images/d/d1/Rotation_logo_Ghaul.png', 'https://destiny.wiki.gallery/images/9/9c/Rotation_logo_Hawthorne.png', 'https://destiny.wiki.gallery/images/b/bc/Destinypedia_rotation_logo_Ana.png'];

$('#site-logo a').css('background-image', 'url(' + logos[Math.floor(Math.random * logos.length)] + ')'); });