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: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 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!

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.