GSer

Adds the (gs) suffix to NUEsers usernames.

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

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

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 GSer
// @namespace shoecream, King Bill, ThaGamer2
// @version 9.0
// @description Adds the (gs) suffix to NUEsers usernames.
// @include http://*.endoftheinter.net*
// @include http://endoftheinter.net*
// @include https://*.endoftheinter.net*
// @include https://endoftheinter.net*
// ==/UserScript==

function addAfter (anchor, text) {
var node = document.createTextNode(text);
anchor.parentNode.insertBefore(node, anchor.nextSibling);
}

[].forEach.call(document.getElementsByTagName('a'), function(ii) {
var uid = (/profile\.php.*?user=(\d+)/.exec(ii.href) || []).pop();
if (uid > 31947) {
addAfter(ii, ' (gs)\u2079');
}
else if (uid > 31121) {
addAfter(ii, ' (gs)\u2078');
}
else if (uid > 22722) {
addAfter(ii, ' (gs)\u2077');
}
else if (uid > 22682) {
addAfter(ii, ' (gs)\u2076');
}
else if (uid > 21289) {
addAfter(ii, ' (gs)\u2075');
}
else if (uid > 20176) {
addAfter(ii, ' (gs)\u2074');
}
else if (uid > 15258) {
addAfter(ii, ' (gs)\u00B3');
}
else if (uid > 13498) {
addAfter(ii, ' (gs)\u00B2');
}
else if (uid > 10088) {
addAfter(ii, ' (gs)');
}
});