Greasy Fork

AO3: Kudos/hits ratio

Replace hitcount with kudos/hits percentage. Sort works on the page by this ratio.

< 脚本 AO3: Kudos/hits ratio 的反馈

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

§
发布于:2023-11-14

guys, if you're having problems with the huge ratios due to only bookmarks or kudos being over 1000. change the code in line 129 and 130 to

"var kudos_count = parseInt(kudos_value.text().replace(/\D/g, ''));
var bookmarks_count = parseInt(bookmarks_value.text().replace(/\D/g, ''));"

as shown in the picture.

§
发布于:2023-11-14

or, if you're using the "AO3: Quality score (Adjusted Kudos/Hits ratio)" version.

Change lines 132 to 134 to:

"var hits_count = parseInt(hits_value.text().replace(/\D/g, ''));
var kudos_count = parseInt(kudos_value.text().replace(/\D/g, ''));
var chapters_count = parseInt(chapters_string.toString().replace(/\D/g, ''));"

§
发布于:2023-12-20

Thank you so much!

发布留言

登录以发布留言。