您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Set notifications limit to max
// ==UserScript== // @name Scanlover: set notifications data length to max // @description Set notifications limit to max // @version 1.0 // @author Angelium // @match https://scanlover.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=scanlover.com // @grant none // @run-at document-start // @namespace https://greasyfork.org/users/933976 // ==/UserScript== const oldOpen = window.XMLHttpRequest.prototype.open; window.XMLHttpRequest.prototype.open = function() { let [method, url, isAsync, user, password] = arguments; if (url.includes('/api/notifications')) url += '?page[limit]=50'; return oldOpen.apply(this, [method, url, isAsync, user, password]); };