您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Used in union with DuoHacker to automatically farm XP without interaction
当前为
// ==UserScript== // @name Duolingo farmer redirector // @namespace http://tampermonkey.net/ // @version 0.1 // @description Used in union with DuoHacker to automatically farm XP without interaction // @author JoRo-Code <[email protected]> // @copyright JoRo-Code // @match https://www.duolingo.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net // @grant none // @run-at document-end // ==/UserScript== const DEBUG = false; let mainInterval; const TIME_OUT = 1000; const TRIGGER_URL = "https://www.duolingo.com/learn" const CHINESE = "zs" const JAPANESE = "ja" /* Make sure to start a language course before you run the farmer Make sure that you have selected your language as your learning language on Duolingo, otherwise it will cause an error and be stuck in an infinite loop trying to start a lesson */ var LANGUAGE = JAPANESE function getLessonURL() { var redirect_url = "https://duolingo.com/checkpoint/" + LANGUAGE + "/1/bigtest" return redirect_url } function redirect(url) { window.location.replace(url); if (DEBUG) { console.log("Redirected to:" + window.location)} } function main() { if (DEBUG) { console.log("Running main")} var currentLocation = window.location; if (DEBUG) { console.log("Current location: " + currentLocation)} if (currentLocation == TRIGGER_URL) { if (DEBUG) { console.log("Calling redirect")} var new_lesson = getLessonURL(); redirect(new_lesson); } } function start() { mainInterval = setInterval(main, TIME_OUT) } (start)();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址