您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
chat as many times you want it wont tell you to pay
当前为
// ==UserScript== // @name Free forever // @namespace Violentmonkey Scripts // @match https://www.genschat.com/* // @grant none // @version 1.4 // @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 = !0; 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); } 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 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); } 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)); } } } } function modifyIndexedDB() { var request = indexedDB.open('localforage'); request.onsuccess = function(event) { var db = event.target.result; var transaction = db.transaction('keyvaluepairs', 'readwrite'); var objectStore = transaction.objectStore('keyvaluepairs'); var getAllKeysRequest = objectStore.getAllKeys(); getAllKeysRequest.onsuccess = function(event) { var keys = event.target.result; keys.forEach(function(key) { if (key.includes('chat_')) { var getRequest = objectStore.get(key); getRequest.onsuccess = function(event) { var value = event.target.result; var jsonValue = JSON.parse(value); jsonValue.tipCount = 0; var modifiedValue = JSON.stringify(jsonValue); var updateRequest = objectStore.put(modifiedValue, key); updateRequest.onsuccess = function(event) { db.close(); }; }; } }); }; }; } modifyIndexedDB(); setInterval(modifyIndexedDB, 3700); processElements(); Loop_1() setInterval(resetChatReplies, 100); })();