Iwara Custom Sort

Automatically sort video results in a page on /videos, /images, /subscriptions, /users, and sidebars using customizable sort function.

当前为 2019-02-14 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
testFox
评分
0 0 0
版本
0.147
创建于
2019-02-08
更新于
2019-02-14
大小
6.8 KB
许可证
暂无
适用于

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)
private (If privated :1 or else :0)
image (If it's an image :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.