Novel Ranking Filter [No GM_API Version]

Novel Ranking Filtering Bookmarklet for Mobile Browser

نووسەر
LE37
Daily installs
0
Total installs
0
Ratings
0 0 0
وەشان
2024-06-23
Created
2024-03-19
Updated
2024-06-22
مۆڵەت
MIT
Applies to

No GM_API Version Novel Ranking Filter[https://greasyfork.org/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: https://greasyfork.org/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:(()=>{/*a20240623*/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(/#/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);}})();