Greasy Fork is available in English.

GreasyFork Total Scripts

Shows a user's total scripts count on GreasyFork

< Feedback op GreasyFork Total Scripts

Recensie: Goed - het script werkt zoals het hoort

§
Geplaatst: 27-06-2020
Bijgewerkt: 27-06-2020

Work well:
Thanks!
But... Need to change the @include for all language:
// @include *greasyfork.org/*/users/*

PS:
If i use [TS] Citrus GFork ,
your Seems don't count the number of scripts:
On your profile page, i see 0.
Can you make a fix for it ??
I make a test, which work for it but i don't know how to have both case working...
My test:
(function() {
'use strict';

let l = $('#script-table tbody tr').length;
if (l == 1) {
$('div.width-constraint h2:first').append(' [' + l + ' Total Script]');
}
else {
$('div.width-constraint h2:first').append(' [' + l + ' Total Scripts]');
}
})();

Reactie plaatsen

Log in om antwoord te geven.