Work well: Thanks! But... Need to change the @include for all language: // @include *gf.qytechs.cn/*/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]'); } })();
Work well:
Thanks!
But... Need to change the @include for all language:
// @include *gf.qytechs.cn/*/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]');
}
})();