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 silence = document.createElement('img'); var silenceUrl = ['https://i.imgur.com/pz8gbyk.png','https://i.imgur.com/47GmGOm.png','https://i.imgur.com/iw5Cuhk.png','https://i.imgur.com/4iSEn1b.png','https://i.imgur.com/QkQ0kUp.png','https://i.imgur.com/CSch081.png']; var randomSilence = Math.floor(Math.random * silenceUrl.length); silence.src = silenceUrl[randomSilence]; silence.style.position ='absolute'; silence.style.height = '90px'; silence.style.left = '320px'; silence.style.top = '-10px'; document.body.append(silence);

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);*/