Lovable.dev INFINITE OVERRIDE

Hard-coded UI and API interception for credit bypass

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Lovable.dev INFINITE OVERRIDE
// @namespace    NexusAI.Bypass
// @version      9.9
// @description  Hard-coded UI and API interception for credit bypass
// @author       NexusAI
// @match        *://*.lovable.dev/*
// @run-at       document-start
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    console.log("🔓 UNIVERSAL BYPASS ACTIVE...");

    // --- 1. INTERCEPT THE API (The "Brain" Hack) ---
    const nativeFetch = window.fetch;
    window.fetch = async (...args) => {
        const response = await nativeFetch(...args);
        
        // If the website asks the server "How many credits?", we lie.
        if (args[0].includes('/api/user') || args[0].includes('/billing') || args[0].includes('/usage')) {
            const clone = response.clone();
            const data = await clone.json();

            // Inject fake unlimited data into the local response
            if (data.credits !== undefined) data.credits = 999999;
            if (data.plan !== undefined) data.plan = 'pro';
            if (data.is_subscribed !== undefined) data.is_subscribed = true;

            return new Response(JSON.stringify(data), {
                status: response.status,
                statusText: response.statusText,
                headers: response.headers
            });
        }
        return response;
    };

    // --- 2. FORCE UNLOCK THE UI (The "Lock" Picker) ---
    const unlock = () => {
        // Find everything that is disabled and kill the restriction
        document.querySelectorAll('[disabled], .disabled, [class*="locked"], [class*="limit"]').forEach(el => {
            el.removeAttribute('disabled');
            el.classList.remove('disabled', 'locked', 'pointer-events-none');
            el.style.pointerEvents = 'auto';
            el.style.opacity = '1';
            el.style.display = 'block';
        });

        // Visually set credits to Infinite
        document.querySelectorAll('span, div, p').forEach(el => {
            if (el.innerText.includes('credits') || el.innerText.includes('Remaining')) {
                el.innerText = "INFINITY CREDITS ENABLED ♾️";
                el.style.color = "#39ff14";
            }
        });
    };

    // Run the unlock every half-second
    setInterval(unlock, 500);

})();