Iwara Custom Sort

Automatically sort teaser images on /videos, /images, /subscriptions, /users, and sidebars using customizable sort function.

As of 16. 02. 2019. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
testFox
Ocene
0 0 0
Verzija
0.153
Napravljeno
08. 02. 2019
Ažurirano
16. 02. 2019
Size
8,72 КБ
Licenca
AGPL-3.0-or-later
Važi za

The script can be used with "Iwara Extension Script"
Require a client competible with Greasemonkey >= 4.0.
Spicify the custom sort value in the textbox next to the sort button, with following variables (and everything in javascript) available:
likes
views (再生数)
ratio (likes/views)
image (If it's an image :1 or else :0)
gallery (If it's a gallery of multiple images :1 or else :0)
private (If it's privated :1 or else :0)

For example, the default value is '(ratio / (private * 2.5 + 1) + Math.sqrt(likes) / 3000) / (image + 3)'
Math.sqrt is the javascript built-in Square Root function

The script will remember what you used before.

Will add a function to load and sort multiple pages in near future.
For now you can use an experimental feature by change the "additionalPageCount" variable to a number
greater than 0 in the script, additional videos 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.