[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.

Tính đến 28-10-2014. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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');
	}
}