[Konachan / yande.re] Menu: Replace Dropdown Buttons

Replaces the squares in the main menu bar which display rather small in Firefox and Chrome with downward pointing triangles that are a lot easier to click.

Versione datata 28/10/2014. Vedi la nuova versione l'ultima versione.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo 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		[Konachan / yande.re] Menu: Replace Dropdown Buttons
// @namespace	Zolxys
// @description	Replaces the squares in the main menu bar which display rather small in Firefox and Chrome with downward pointing triangles that are a lot easier to click.
// @include		/^https?://konachan\.(com|net)/[^#?]/
// @include		/^https?://yande\.re/[^#?]/
// @exclude		/^[^#?]+\.\w+($|\?|#)/
// @version		1.1
// ==/UserScript==
var c = document.getElementById('header').getElementsByTagName('a');
for (var i = 0; i < c.length; i++)
 if (c[i].childNodes.length) {
	var o = c[i].firstChild;
	if (o.nodeType == 3) {
		if (o.data.trim() == '\u25A0')
		 o.data = o.data.replace('\u25A0','\u25BC');
	}
}