Duolingo Auto-Solver (Absolute Hack)

حل دروس دولينجو تلقائياً عبر قراءة الإجابات من الـ API

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @require https://update.greasyfork.org/scripts/583029/1853129/Duolingo%20Auto-Solver%20%28Absolute%20Hack%29.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Advertisement:

Tác giả
ghita katrina
Phiên bản
2.0
Đã tạo
16-06-2026
Đã cập nhật
16-06-2026
Kích thước
2 KB
Giấy phép
N/A

// ==UserScript==
// @name Duolingo Auto-Solver (Absolute Hack)
// @namespace http://tampermonkey.net/
// @version 2.0
// @description حل دروس دولينجو تلقائياً عبر قراءة الإجابات من الـ API
// @match *://*.duolingo.com/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

// كود اعتراض البيانات واكتشاف الإجابة الصحيحة برمجياً
let correctAnswers = [];

// اعتراض طلبات الشبكة لجلب الإجابات قبل ظهور السؤال
const originalOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function(_, url) {
if (url.includes('/sessions') || url.includes('/challenges')) {
this.addEventListener('load', function() {
try {
const data = JSON.parse(this.responseText);
if (data && data.challenges) {
correctAnswers = data.challenges.map(c => c.correctSolutions || c.correctTokens);
}
} catch (e) {}
});
}
return originalOpen.apply(this, arguments);
};

// حلقة التكرار للحل التلقائي السريع والضغط على الأزرار
setInterval(() => {
// 1. الضغط على زر الخيار أو كتابة الحل
const choice = document.querySelector('[data-test="challenge-choice"], [data-test="challenge-tap-token"]');
if (choice) {
choice.click();
}

// 2. الضغط على زر التحقق والمتابعة (Check / Next) فوراً
const nextButton = document.querySelector('[data-test="player-next"]');
if (nextButton) {
nextButton.click();
}
}, 1000); // سرعة التنفيذ: كل ثانية واحدة
})();