Iwara Custom Sort

Automatically sort teaser images on /videos, /images, /subscriptions, /users, /playlist, and sidebars using customizable sort function. Can load and sort multiple pages at once.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
testFox
Dziennych instalacji
0
Wszystkich instalacji
2 922
Oceny
5 0 0
Wersja
1.1.0
Utworzono
08-02-2019
Zaktualizowano
04-08-2021
Rozmiar
98,8 KB
Licencja
AGPL-3.0-or-later
Dotyczy

Can load multiple pages at once, additional teasers will be dynamically loaded to the page with the sorted order
, and the pagination links at the bottom of a page will change their URL and presentation accordingly.

Can be used together with "Iwara Extension Script", another userscript.

Spicify the custom sort value in the textbox next to the sort button, with following variables (and everything in javascript) available:
index (0 ~ (n-1) for 1st to nth teaser in the initial order before sorting)
likes
views (再生数)
ratio (likes/views)
gallery (1 if it's a gallery of multiple images, 0 if not)
image (1 if it's an image (including galleries), 0 if not)
private (1 if it's privated, 0 if not)

For example, the default value is '(Math.asinh(ratio * 15) / 15 / (private * 1.8 + 1) + Math.log(likes) / 230) / (image + 8)'
Math.* are javascript built-in math functions.

Click the "default" button to restore the default value of textbox.

Use '-index' to restore the initial order before any sorting.

The script will remember the setting you used before.

Require a userscript extension competible with Greasemonkey >= 4.0.

Multipage loading has been tested on:

Tampermonkey and Greasemonkey on Firefox
Tampermonkey on Chrome

Images and galleries tend to have higher likes/views ratio, possibly due to their content being more in line with people's expectation from seeing their thumbnails.

Privated posts with less views might have higher likes/views ratio due to the fact that a large portion of their views comes from the creator's friends.

Likes/views ratio of a content tends to go down as it gains views, due to the fact that most of the views are from people outside of the creator's followers.