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

Disables the hiding of duplicate thumbnails on the user pages.

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

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

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

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] 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, ' ');
}