[Konachan / yande.re] Profile: Show Duplicate Thumbnails

Disables the hiding of duplicate thumbnails on the user pages.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name		[Konachan / yande.re] Profile: Show Duplicate Thumbnails
// @namespace	Zolxys
// @description	Disables the hiding of duplicate thumbnails on the user pages.
// @include		/^https?://konachan\.(com|net)/user/show/\d+/?($|\?|#)/
// @include		/^https?://yande\.re/user/show/\d+/?($|\?|#)/
// @version		1.2
// ==/UserScript==
var l = [];
var a = document.getElementsByTagName("li");
for (var i = 0; i < a.length; ++i)
  if (/^p\d+$/.test(a[i].id)) {
	var n = parseInt(a[i].id.substr(1));
	if (l.indexOf(n) == -1) {
		if (!/(^|\s)javascript-hide(\s|$)/.test(a[i].className))
			l.push(n);
	}
	else
		a[i].className = a[i].className.replace(/(^|\s)javascript-hide(\s|$)/g, ' ');
}