There are 2 previous versions of this script.
// ==UserScript==
// @name studiVZ in Blau *NEU*
// @namespace http://www.atomtigerzoo.com/labor/studivz
// @description Das StudiVZ in Blau anstatt Rot/Rosa
// @include http://*studivz.net/*
// @version 0.4.1
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
function changeTopBanner() {
document.getElementById('Grid-Page-Center-Top-Title').childNodes[1].setAttribute('src', 'http://labor.atomtigerzoo.com/studivz/banner.png');
document.getElementById('Chat_Header_State').childNodes[1].childNodes[3].setAttribute('src', 'http://labor.atomtigerzoo.com/studivz/ch_down.png');
if (document.getElementById('Chat_Header_State').childNodes[1].childNodes[1].getAttribute('src') == 'http://static.pe.studivz.net/20090304-1/Img/Chat/Common/ic_on_half.png') {
document.getElementById('Chat_Header_State').childNodes[1].childNodes[1].setAttribute('src', 'http://labor.atomtigerzoo.com/studivz/ch_on.png');
}
if (document.getElementById('Chat_Header_State').childNodes[1].childNodes[1].getAttribute('src') == 'http://static.pe.studivz.net/20090304-1/Img/Chat/Common/ic_off_half.png') {
document.getElementById('Chat_Header_State').childNodes[1].childNodes[1].setAttribute('src', 'http://labor.atomtigerzoo.com/studivz/ch_off.png');
}
}
addGlobalStyle('@import url(http://labor.atomtigerzoo.com/studivz/studivz_new.css);');
changeTopBanner();
