Large

HARMONY

By Pseudo Last update Apr 2, 2010 — Installed 2,783 times.

There are 2 previous versions of this script.

// ==UserScript==
// @name           HARMONY
// @namespace      http://pseudochron.com
// @description    Open your eyes and restore the harmony to 4chan's /v/
// @include        http://*.4chan.org/v/*
// ==/UserScript==

/* CONFIGURATION */
var music_only_on_frontpage = false;
/* (END CONFIG) */

document.title = "HARMONY";
GM_addStyle('body{background:#EEF2FF url(http://pseudochron.com/harmony/rainbow.png) repeat;}');

var babby = document.getElementsByTagName("embed")[0];

if (!music_only_on_frontpage || !String(window.location).match("/res")) {
	if (babby) {
		babby.src = "http://pseudochron.com/harmony/unicorn.swf";
	} else {
		var music = document.createElement('embed');
		music.src = "http://pseudochron.com/harmony/unicorn.swf";
		music.width = "1";
		music.height = "1";
		music.setAttribute("wmode","transparent");
		document.getElementsByTagName("td")[1].appendChild(music);
	}
} else {
	if (babby) {
		babby.parentNode.removeChild(babby);
	}
}