Greasy Fork

Greasy Fork is available in English.

多领国阻止血量减少

阻止 多领国 网站在学习过程中因错误减少用户的血量,通过拦截并阻止相关的“remove-heart”请求。

当前为 2025-01-26 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
深海云霁
评分
0 0 0
版本
0.0.3
创建于
2025-01-23
更新于
2025-01-26
大小
1.1 KB
许可证
MIT
适用于

脚本说明

  1. 中途退出的情况:

    • 如果您在学习过程中退出单元(例如点击退出按钮,而不是直接关闭浏览器或标签页),即使血量请求被拦截,前端界面依然可能显示血量减少。幸运的是,这种显示问题不会影响实际血量,因为后端血量保持不变。If you exit the unit during the learning process (for example, by clicking the exit button instead of directly closing the browser or tab), the front-end interface may still display a decrease in blood even if the blood request is intercepted. Fortunately, this display issue does not affect the actual blood, as the blood on the backend remains unchanged.
    • 在退出后,刷新页面时,血量会恢复为正确的数值,确保您的学习数据始终准确。After exiting, when you refresh the page, the blood will recover to the correct value, ensuring that your learning data is always accurate.
  2. 正常完成学习的情况:

    • 如果您完成了整个单元并且有错误,DuoLingo 会根据错误的数量返还相应的血量。此时,前端显示的血量会自动更新,以反映后端的数据,无需任何额外操作。If you complete the entire unit and have errors, DuoLingo will return the corresponding blood based on the number of errors. At this time, the blood displayed on the front-end will automatically update to reflect the data on the backend, without any additional operation.