SA Forums: One Sig Per Person

By sethaurus Last update Nov 18, 2009 — Installed 29,669 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 5, 0

There are 5 previous versions of this script.

// ==UserScript==
// @name        SA Forums: One Sig Per Person
// @namespace   meta.ironi.st
// @description Limits the display of signatures to one sig per person per page
// @include     http://forums.somethingawful.com/showthread.php*
// @author      Nigglypuff
// ==/UserScript==

(function () {
	var sigs = document.querySelectorAll('p.signature, p.signature~*'),
		seen = {}, html;
	
	for (var sig, i = 0; sig = sigs[i++];) {
		if (seen[sig.innerHTML]) sig.style.display = 'none';
		else seen[sig.innerHTML] = true;
	}
	
	if (location.hash) location = location.hash;
})();