AO3: Kudos/hits ratio

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

< Feedback on AO3: Kudos/hits ratio

Review: Good - script works

§
Posted: 14.11.2023.

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.

§
Posted: 14.11.2023.

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, ''));"

§
Posted: 20.12.2023.

Thank you so much!

Post reply

Sign in to post a reply.