GreasyFork Total Scripts

Shows a user's total scripts count on GreasyFork

< 脚本GreasyFork Total Scripts的反馈

评价:好评 - 脚本运行良好

§
发表于:2020-06-27
编辑于:2020-06-27

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

发表回复

登录(不可用)以发表回复

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址