Steve Posted July 13, 2014 Posted July 13, 2014 So the Fuwanovel logo contest has started and inevitably some of the great entries you like will not make it to the final banner. But worry not, because I come with the so requested feature. FUWA LOGO RANDOMIZER It is a script for Greasemonkey (firefox) and Tempermonkey (chrome) (or any other monkey addon in different internet browsers). Once you have the addon installed, click this button to install the script: INSTALL Open the script to add the logos you want, //comments are in the file to let you know what to change to add or replace some of the images. Currently it cycles through Mare and Shinku logos. code: // ==UserScript== // @name Fuwa Logo Randomizer // @namespace Steve // @description randomly cycles through fuwa logos // @include http://*forums.fuwanovel.net/* // @run-at document-body // ==/UserScript== // ADD LINKS TO THE LOGOS YOU WANT TO USE INSIDE THE BRACKET, ENCLOSED BY QUOTATION MARKS, SEPARATED BY A COMMA var randomlogo = [ "http://i.imgur.com/6VlY0LD.png", "http://i.imgur.com/EWPkUBn.png" ]; var count = 2; // CHANGE THIS NUMBER TO THE NUMBER OF LOGOS YOU WANT TO USE var random = Math.floor(Math.random() * (count)); var logo = document.getElementById("logo").getElementsByTagName("img"); logo[0].src =randomlogo[random]; Heizei_koukousei 1
Recommended Posts