Greasy Fork is available in English.

GreasyFork Total Scripts

Shows a user's total scripts count on GreasyFork

< Feedback on GreasyFork Total Scripts

Review: Good - script works

§
Posted: 2020-06-27
Edited: 2020-06-27

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

Post reply

Sign in to post a reply.