GSer

Adds the (gs) suffix to NUEsers usernames.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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