🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

DuoLingo Impedire la Perdita di Cuori

Impedisci al sito web di Duolingo di ridurre il numero di cuori degli utenti durante il processo di apprendimento intercettando e bloccando le richieste "remove-heart" correlate.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autore
深海云霁
Installazioni giornaliere
3
Installazioni totali
641
Valutazione
5 0 0
Versione
0.0.6
Creato il
23/01/2025
Aggiornato il
03/02/2025
Dimensione
5,1 KB
Licenza
MIT
Applica a

脚本说明

  1. 中途退出的情况:

    • 如果您在学习过程中退出单元(例如点击退出按钮,而不是直接关闭浏览器或标签页),即使血量请求被拦截,前端界面依然可能显示血量减少。幸运的是,这种显示问题不会影响实际血量,因为后端血量保持不变。
    • 在退出后,刷新页面时,血量会恢复为正确的数值,确保您的学习数据始终准确。
  2. 正常完成学习的情况:

    • 如果您完成了整个单元并且有错误,DuoLingo 会根据错误的数量返还相应的血量。此时,前端显示的血量会自动更新,以反映后端的数据,无需任何额外操作。

Script Description

  1. When exiting midway:

    • If you exit the unit during study (for example, by clicking the exit button instead of directly closing the browser or tab), the front-end interface may still show a decrease in health even though the health request was blocked. Fortunately, this display issue does not affect your actual health points because the back-end health remains unchanged.
    • After exiting, when you refresh the page, the health display will return to the correct value to ensure your learning data remains accurate.
  2. When completing the lesson normally:

    • If you finish the entire unit and make some mistakes, DuoLingo will return the corresponding health points based on the number of errors. At this point, the front-end display will automatically update to reflect the back-end data, without requiring any extra action.

スクリプト説明

  1. 途中退出した場合:

    • 学習中にユニットを退出した場合(ブラウザやタブを直接閉じるのではなく、退出ボタンをクリックした場合など)、ヘルスのリクエストがブロックされていても、フロントエンドではヘルスが減少したように表示されることがあります。
      しかし、これは表示上の問題であり、バックエンドのヘルス値は変わりません。
    • 退出後にページをリフレッシュすると、ヘルスは正しい数値に戻り、学習データの正確さが保たれます。
  2. 学習を正常に完了した場合:

    • ユニットを最後まで完了し、間違いがあった場合、DuoLingo はミスの数に応じてヘルスを返還してくれます。
      このとき、フロントエンドのヘルス表示は自動的に更新され、追加の操作は必要ありません。

Descripción del script

  1. Al salir a mitad del proceso:

    • Si sales de la unidad durante el aprendizaje (por ejemplo, haciendo clic en el botón de salir en lugar de cerrar el navegador o la pestaña directamente), es posible que la interfaz muestre una reducción de salud incluso si la solicitud fue bloqueada. Afortunadamente, este problema visual no afecta tu salud real, ya que el valor del servidor permanece igual.
    • Después de salir, al actualizar la página, la salud volverá a su valor correcto, asegurando que tus datos de aprendizaje siempre sean precisos.
  2. Al completar la unidad normalmente:

    • Si completas la unidad y cometes errores, DuoLingo devolverá la salud correspondiente según la cantidad de fallos. En este caso, la interfaz se actualizará automáticamente para reflejar los datos del servidor, sin necesidad de ninguna acción adicional.