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.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
testFox
Instalaciones diarias
0
Instalaciones totales
2.922
Calificaciones
5 0 0
Versión
1.1.0
Creado
8/2/2019
Actualizado
4/8/2021
Tamaño
98,8 KB
Licencia
AGPL-3.0-or-later
Funciona en

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.