Number 1 Highlighter

Highlights Number One Stuff

Versione datata 13/04/2015. Vedi la nuova versione l'ultima versione.

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          Number 1 Highlighter
// @namespace     FaxCelestis
// @description   Highlights Number One Stuff
// @include       *animecubed.com/billy/bvs/numberone*
// @grant         GM_addStyle
// @author        FaxCelestis
// @version       1.0f
// ==/UserScript==

function highlight()
{
document.body.innerHTML = document.body.innerHTML.replace(/color:red\">Tier 1 Event/g, 'color:white\"><span style=\"background-color:red\">Tier 1 Event<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/color:red\">Tier 2 Event/g, 'color:black\"><span style=\"background-color:orange\">Tier 2 Event<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/color:red\">Tier 3 Event/g, 'color:black\"><span style=\"background-color:yellow\">Tier 3 Event<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/color:red\">Tier 4 Event/g, 'color:black\"><span style=\"background-color:green\">Tier 4 Event<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/color:red\">Tier 5 Event/g, 'color:white\"><span style=\"background-color:blue\">Tier 5 Event<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/color:red\">Tier 11 Event/g, 'color:white\"><span style=\"background-color:purple\">Tier 11 Event<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/<b>Round 10/g, '<b><span style=\"color:white;background-color:red\">Round 10<\/span><br><sup>\(-1 HP per turn!\)<\/sup>');
document.body.innerHTML = document.body.innerHTML.replace(/<b>Round 11/g, '<b><span style=\"color:white;background-color:red\">Round 11<\/span><br><font size=\"1\"><sup>\(-1 HP per turn!\)<\/sup><\/font>');
document.body.innerHTML = document.body.innerHTML.replace(/<b>Round 12/g, '<b><span style=\"color:white;background-color:red\">Round 12<\/span><br><font size=\"1\"><sup>\(-1 HP per turn!\)<\/sup><\/font>');
document.body.innerHTML = document.body.innerHTML.replace(/<b>Round 13/g, '<b><span style=\"color:white;background-color:red\">Round 13<\/span><br><font size=\"1\"><sup>\(-1 HP per turn!\)<\/sup><\/font>');
document.body.innerHTML = document.body.innerHTML.replace(/<b>Round 14/g, '<b><span style=\"color:white;background-color:red\">Round 14<\/span><br><font size=\"1\"><sup>\(-1 HP per turn!\)<\/sup><\/font>');
document.body.innerHTML = document.body.innerHTML.replace(/<b>Round 15/g, '<b><span style=\"color:white;background-color:red\">Round 15<\/span><br><font size=\"1\"><sup>\(-1 HP per turn!\)<\/sup><\/font>');
document.body.innerHTML = document.body.innerHTML.replace(/Battle 1/g, '<span style=\"font-variant:small-caps;color:red\">Battle 1<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/Battle 2/g, '<span style=\"font-variant:small-caps;color:red\">Battle 2<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/Battle 3/g, '<span style=\"font-variant:small-caps;color:red\">Battle 3<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/Battle 4/g, '<span style=\"font-variant:small-caps;color:red\">Battle 4<\/span>');
document.body.innerHTML = document.body.innerHTML.replace(/Final Battle!/g, '<span style=\"font-variant:small-caps;color:red\">Final Battle!<\/span>');
}

highlight();