Lovable.dev INFINITE OVERRIDE

Hard-coded UI and API interception for credit bypass

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);

})();