Greasy Fork is available in English.

Duolingo Streak Booster

Tăng streak trên Duolingo tự động mỗi giây

// ==UserScript==
// @name         Duolingo Streak Booster
// @namespace    http://tampermonkey.net/
// @version      2.0
// @description  Tăng streak trên Duolingo tự động mỗi giây
// @author       CEO Duolingo
// @match        https://www.duolingo.com/*
// @icon         https://www.duolingo.com/favicon.ico
// @grant        none
// ==/UserScript==

(function () {
    const streakIcon = "🔥"; 
    const interval = 1000;  

    // Tạo giao diện hiển thị streak
    const streakElement = document.createElement("div");
    streakElement.style.position = "fixed";
    streakElement.style.bottom = "20px";
    streakElement.style.right = "20px";
    streakElement.style.background = "#4CAF50";
    streakElement.style.color = "#fff";
    streakElement.style.padding = "10px 20px";
    streakElement.style.borderRadius = "10px";
    streakElement.style.boxShadow = "0 0 10px rgba(0,0,0,0.5)";
    streakElement.style.fontSize = "20px";
    streakElement.style.fontFamily = "Arial, sans-serif";
    streakElement.style.zIndex = "10000";
    document.body.appendChild(streakElement);

    let streakCount = 0;

    const updateStreak = () => {
        streakCount++;
        streakElement.innerHTML = `${streakIcon} Streak: ${streakCount}`;
    };

    
    setInterval(updateStreak, interval);

   
    updateStreak();
})();