Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pikabu Suzumiya Haruhi themed mascot installer (thx to the image author
// ==UserScript==
// @name Pikabu Haruhiism
// @namespace
// @version 0.1
// @description thx to
// @author Akasaka Ryuunosuke
// @match*
// @grant none
// ==/UserScript==
if(document.getElementById("brovdiv") != null) {
var root="//";
var images = ["haruhi_k.png","haruhi.png","mikuru.png","nagato.png","kyon.png","koizumi.png"];
var descriptions = ["Судзумия Харухи (версия Коёэн)","Судзумия Харухи","Асахина Микуру","Нагато Юки","Кён","Коидзуми Ицки"];
var clink = document.getElementById("brovdiv").children[0];
var imgel = clink.children[0];
var i=Math.floor(Math.random()*images.length);
clink.href = "";
imgel.title = descriptions[i];
imgel.src= root+images[i];
$('.footer-fornex').html('Печеньки by<a href="">PrincessPanda</a>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.