User:Frobisher/common.js

//Add any new logo's url to the list below. A resolution between 200 or 300px should do just fine. /*var picUrl = ["https://static.miraheze.org/whogenwiki/f/f7/Logo-landing-qui.png","https://static.miraheze.org/whogenwiki/8/85/Logo-landing-briggs.png"]; var randomNum = Math.floor(Math.random * picUrl.length);

var logo = document.getElementsByClassName("mw-wiki-logo")[0]; logo.setAttribute ("style", "background-image: url(" + picUrl[randomNum] + ") !important;");*/

/* Halloween code below */ /*var pumpkin = document.createElement('img'); pumpkin.src = 'https://i.imgur.com/pz8gbyk.png'; pumpkin.style.position ='absolute'; pumpkin.style.height = '90px'; pumpkin.style.left = '320px'; pumpkin.style.top = '-10px'; document.body.append(pumpkin);

var angel = document.createElement('img'); angel.src = 'https://i.imgur.com/0XZ8PMs.png'; angel.style.position ='fixed'; angel.style.height = '300px'; angel.style.right = '0px'; angel.style.bottom = '0px'; angel.style.opacity = '20%'; document.body.append(angel);*/