Free forever

chat as many times you want it wont tell you to pay

2024-02-19 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name        Free forever
// @namespace   Violentmonkey Scripts
// @match       https://www.genschat.com/*
// @grant       none
// @version     1.24
// @author      -
// @license MIT
// @description chat as many times you want it wont tell you to pay
// ==/UserScript==

(function() {
    'use strict';

    function Loop_1() {
        if (typeof(Storage) !== "undefined") {
            var aiChatValue = localStorage.getItem("aiChat");
            var Isvip = localStorage.getItem("isVip");
            if (Isvip !== null) {
                var Isvip2 = JSON.parse(Isvip);
                Isvip2 = 1
                var modifiedValue2 = JSON.stringify(Isvip2);
                localStorage.setItem("isVip", modifiedValue2);
            }
            if (aiChatValue !== null) {
                var aiChatObj = JSON.parse(aiChatValue);
                if (aiChatObj.hasOwnProperty("dayConfig")) {
                    aiChatObj.reply = 999999990;
                    aiChatObj.dayConfig.free = 100000;
                    aiChatObj.dayConfig.dayFree = 100000;
                    aiChatObj.dayConfig.reply = 100000;
                    aiChatObj.dayConfig.maxFree = 100000;
                    aiChatObj.dayConfig.lmFree = 100000;
                    var modifiedValue = JSON.stringify(aiChatObj);

                    localStorage.setItem("aiChat", modifiedValue);
                    console.log("Successfully modified the local storage value.");
                } else {
                    console.log("The 'dayConfig' array does not exist in 'aiChat' value.");
                }
            } else {
                console.log("The 'aiChat' value does not exist in local storage.");
            }
        } else {
            console.log("Local storage is not supported by the browser.");
        }
        setTimeout(Loop_1, 10);
    }
     function scanLocalStorage() {
        for (let i = 0; i < localStorage.length; i++) {
            const key = localStorage.key(i);
            if (key.startsWith("chat_")) {
                const value = localStorage.getItem(key);
                try {
                    const data = JSON.parse(value);
                    if (Array.isArray(data.reply)) {
                        data.reply = Array(data.reply.length).fill(0);
                        localStorage.setItem(key, JSON.stringify(data));
                    }
                } catch (error) {
                    console.error("Error parsing localStorage item:", key, error);
                }
            }
        }
    }

    // Run the local storage scan
    scanLocalStorage();
    function processElements() {
        var elements = document.getElementsByClassName("lock van-icon van-icon-lock");
        for (var i = 0; i < elements.length; i++) {
            var element = elements[i];
            element.parentNode.removeChild(element);
        }
        var blurElements = document.getElementsByClassName("blur");
        for (var j = 0; j < blurElements.length; j++) {
            var blurElement = blurElements[j];
            blurElement.classList.remove("blur");
            blurElement.classList.add("DIS");
        }
        setTimeout(processElements, 20);
    }
    processElements();
    Loop_1()
      // Function to reset the "reply" property to 0
    function resetChatReplies() {
        for (var i = 0; i < localStorage.length; i++) {
            var key = localStorage.key(i);
            if (key.startsWith("chat_")) {
                var chatData = JSON.parse(localStorage.getItem(key));
                if (chatData.hasOwnProperty("reply")) {
                    chatData.reply = 0;
                    localStorage.setItem(key, JSON.stringify(chatData));
                }
            }
        }
    }
    setInterval(resetChatReplies, 100);
})();