Greasy Fork User Statistics+

shows user statistics as total installs, total scripts etc.

< 脚本Greasy Fork User Statistics+的反馈

提问/评论

NWP
§
发表于:2024-12-08

Hi! First of all, thank you for the script!

Recently, the script stopped working, so I fixed it by changing language-selector-locale from id to class, as such:

let currentTranslation = translations[document.querySelector('.language-selector-locale').value] || translations.en

NotYou作者
§
发表于:2024-12-08

Hi! First of all, thank you for the script!

Recently, the script stopped working, so I fixed it by changing language-selector-locale from id to class, as such:

let currentTranslation = translations[document.querySelector('.language-selector-locale').value] || translations.en

I've updated the code and also done the refactoring as well.

NWP
§
发表于:2024-12-09

Nice!

发表回复

登录以发表回复。