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.21
// @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.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 processElements() {
const blurElements = document.querySelectorAll('.blur');
blurElements.forEach(function(element) {
element.classList.remove('blur');
element.classList.add('f');
});
const removeElements = document.querySelectorAll('.lock, .van-icon, .van-icon-lock, .van-overlay, .van-popup, .van-popup--center');
const hideElements = document.querySelectorAll('.van-popup, .van-popup--center');
hideElements.forEach(function(element) {
element.style.display = 'none';
});
removeElements.forEach(function(element) {
element.classList.remove('lock', 'van-icon', 'van-icon-lock');
});
setTimeout(processElements, 2);
}
processElements();
Loop_1()
})();