Custom SchoolLoop

Injects custom CSS on any Schoolloop portal

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name     Custom SchoolLoop
// @version  1
// @grant    none
// @include https://*.schoolloop.com/* 
// @description Injects custom CSS on any Schoolloop portal
// @namespace https://greasyfork.org/users/161237
// ==/UserScript==
function addCss(cssString) {
var head = document.getElementsByTagName('head')[0];
var newCss = document.createElement('style');
newCss.type = "text/css";
newCss.innerHTML = cssString;
head.appendChild(newCss);
} // CSS Injector
addCss (
'#container_header_links { background-color: #bb4a4a !important; } .icon_settings2 { border-left: 0 !important; } .link_block_sm { border-right: 0 !important; } #container_header_top a, .red { color: white; } .header_icons a { color: #bb4a4a !important; } .header_icons a:hover { background-color: rgba(135, 157, 252, 0.5) !important; } a.icon_calendar:hover { border-radius: 0 3px 3px 0 !important; } a.icon_locker:hover, a.icon_dropbox:hover { border-radius: 0 !important; } a.icon_mail:hover { border-radius: 3px 0 0 3px !important; } .header_icons { background: none !important; background-color: rgb(242, 240, 233) !important; }'
); // Injects custom CSS on any Schoolloop portal