Greasy Fork

Greasy Fork is available in English.

Novel Ranking Filter [No GM_API Version]

Novel Ranking Filtering Bookmarklet for Mobile Browser

当前为 2024-06-22 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
LE37
评分
0 0 0
版本
2024-06-22
创建于
2024-03-19
更新于
2024-06-22
大小
7.7 KB
许可证
MIT
适用于

No GM_API Version Novel Ranking Filter[http://greasyfork.icu/en/scripts/487919-novel-ranking-filter], same function but used as a bookemarklet so don't need UserscriptManager installed.

How to use:
1. Save JS2BML(below) as a bookmark(eg. a), Run it(a) on code page: http://greasyfork.icu/en/scripts/490243-novel-ranking-filter-no-gm-api-version/code
2. Bookmark the new created "Bookmark this link" button(b).
3. Done. (use bookmark(b) on ranking page)

Note:
1. Lists store in localstorage so you need allow novel sites to store data on device.
2. Some browsers cannot run javascript from addressbar or bookmark directly, use nickname in addressbar then choose from popuplist.
3. If "Bookmark this link" only create a blank bookmark then you need copy button's link and save it as bookmark manually.

JS2BML:
javascript:(()=>{/*a20240619*/const b=document.querySelector('pre');let t=b.innerText;if(t.startsWith("//")){t=t.replace(/\/\/.*\n/g,"");t=t.replace(/\s{2,}/g,"");t=t.replace(/\s([;\?:=\(\{\}\[\]])/g,"$1");t=t.replace(/([,;\?:=\(\{\}\[])\s/g,"$1");t=t.replace(/#/g,"\\#");t=t.replace(/\(/,"javascript:(");const l=document.createElement('a');l.href=t;l.textContent="Bookmark this link";l.classList='install-link';document.getElementById('install-area').appendChild(l);}})();