Free forever

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

Stan na 10-12-2024. Zobacz najnowsza wersja.

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

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

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        Free forever
// @namespace   Violentmonkey Scripts
// @match       https://www.genschat.com/*
// @match       https://www.characterwaifu.com/*
// @include     https://characterwaifu.com/*
// @match       https://www.aicharacterwaifu.com/*
// @include     https://aicharacterwaifu.com/*
// @grant       none
// @version     2.012
// @author      -
// @license MIT
// @description chat as many times you want it wont tell you to pay
// ==/UserScript==

(function() {
    'use strict';
window.showSubscribe = function() {

    };
  function setVip() {
        try {
            if (window._vInstance_ && window._vInstance_.$store && window._vInstance_.$store.state) {
                window._vInstance_.$store.state.isVip = true;
                console.log("isVip set to true");
            }
        } catch (e) {
            console.error("Error setting isVip:", e);
        }
    }
  function modifyIndexedDB() {
        const request = indexedDB.open("localforage");

        request.onerror = function(event) {
            console.error("Error opening IndexedDB:", event);
        };

        request.onsuccess = function(event) {
            const db = event.target.result;
            const transaction = db.transaction(["keyvaluepairs"], "readwrite");
            const objectStore = transaction.objectStore("keyvaluepairs");

            objectStore.openCursor().onsuccess = function(event) {
                const cursor = event.target.result;
                if (cursor) {
                    const key = cursor.primaryKey;
                    let value = cursor.value;

                    try {
                        let jsonValue = JSON.parse(value);

                        if (jsonValue.tip && jsonValue.tip.c !== undefined) {
                            jsonValue.tip.c = 0;
                        }

                        if (jsonValue.tipCount !== undefined) {
                            jsonValue.tipCount = 0;
                        }

                        if (jsonValue.reply !== undefined) {
                            jsonValue.reply = 0;
                        }

                        function replacePayMode(obj) {
                            for (let key in obj) {
                                if (obj.hasOwnProperty(key)) {
                                    if (typeof obj[key] === "object" && obj[key] !== null) {
                                        replacePayMode(obj[key]);
                                    } else if (key === "payMode") {
                                        obj[key] = "vip";
                                    }
                                }
                            }
                        }

                        replacePayMode(jsonValue);

                        const updatedValue = JSON.stringify(jsonValue);
                        const updateRequest = objectStore.put(updatedValue, key);


                        updateRequest.onerror = function() {
                            console.error("Error updating:", key);
                        };
                    } catch (e) {
                        console.error("Error parsing JSON for key:", key, e);
                    }

                    cursor.continue();
                } else {
                }
            };
        };
    }
  modifyIndexedDB();
    setInterval(modifyIndexedDB, 2000);
    // Run the function repeatedly
    setInterval(setVip, 500); // Adjust the interval (in ms) as needed
})();