您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
阻止 多领国 网站在学习过程中因错误减少用户的血量,通过拦截并阻止相关的“移除心数”请求。/ Prevent the Duolingguo website from reducing the number of hearts for users during the learning process by intercepting and blocking related "remove heart count" requests.
当前为
// ==UserScript== // @name 多领国 阻止血量减少 / DuoLingo Prevent Remove Heart // @namespace https://space.bilibili.com/1569275826 // @match *://*.duolingo.cn/* // @match *://*.duolingo.com/* // @version 0.0.1 // @description 阻止 多领国 网站在学习过程中因错误减少用户的血量,通过拦截并阻止相关的“移除心数”请求。/ Prevent the Duolingguo website from reducing the number of hearts for users during the learning process by intercepting and blocking related "remove heart count" requests. // @author 深海云霁 // @license MIT // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // ==/UserScript== (function () { "use strict"; const originalFetch = window.fetch; window.fetch = function (...args) { if (args[0].includes("remove-heart")) { return Promise.resolve(new Response(null, { status: 200 })); } return originalFetch(...args); }; })();