Duolingo Auto-Solver (Absolute Hack)

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

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @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.

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

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!)

Аўтар
ghita katrina
Версія
2.0
Створаны
16.06.2026
Абноўлены
16.06.2026
Памер
1.9 КБ
Ліцэнзія
Н/Д

// ==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); // سرعة التنفيذ: كل ثانية واحدة
})();