您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
使用说明:进入游戏后右上角点击启用
当前为
// ==UserScript== // @name 橙光无限鲜花 // @version 1.0.0.9 // @namespace http://tampermonkey.net/ // @description 使用说明:进入游戏后右上角点击启用 // @author 希尔顿 // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // @match https://*.66rpg.com/h5/* // ==/UserScript== (function () { 'use strict'; var e = document.createElement('button'); var c = document.createElement('button'); let g = false; const h = () => { if (!g) { a(); } else { j(); } }; const a = () => { const b = document.documentElement; g = true; e.style.display = 'none'; if (b.requestFullscreen) { b.requestFullscreen(); } else if (b.mozRequestFullScreen) { b.mozRequestFullScreen(); } else if (b.webkitRequestFullscreen) { b.webkitRequestFullscreen(); } if (screen.orientation?.lock('landscape')) { } }; const j = () => { g = false; e.style.display = 'block'; if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); } else if (document.webkitExitFullscreen) { document.webkitExitFullscreen(); } if (screen.orientation?.unlock()) { } }; const k = () => { if (document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement) { g = true; e.style.display = 'none'; l(); } else { g = false; e.style.display = 'block'; l(); } }; const l = () => { if (g) { c.style.display = 'block'; } else { c.style.display = 'none'; } }; document.addEventListener('fullscreenchange', k); document.addEventListener('webkitfullscreenchange', k); document.addEventListener('mozfullscreenchange', k); var d = localStorage.getItem('lastInputValue'); if (d !== null) { f(parseInt(d)); } e.textContent = '自定义鲜花数'; e.style.backgroundColor = 'rgba(128, 128, 128, 0.5)'; e.style.color = '#ffffff'; e.style.border = 'none'; e.style.zIndex = '9999'; e.style.borderRadius = '50%'; e.style.padding = '10px'; e.style.position = 'fixed'; e.style.top = '20px'; e.style.right = '20px'; e.style.select = 'none'; e.style.border = 'none'; e.style.cursor = 'pointer'; document.body.appendChild(e); e.addEventListener('click', function () { shop(); var b = prompt('请输入数值', localStorage.getItem('lastInputValue')); b = parseInt(b); if (!isNaN(b) && b > 0) { localStorage.setItem('lastInputValue', b); f(b); h(); } else if (b === null) { var d = localStorage.getItem('lastInputValue'); if (d !== null) { f(parseInt(d)); } h(); } else { alert('输入有效正数,需把null叉掉'); } }); c.style.backgroundColor = 'rgba(128, 128, 128, 0.5)'; c.style.color = '#ffffff'; c.style.border = 'none'; c.style.zIndex = '9999'; c.style.borderRadius = '50%'; c.style.padding = '10px'; c.style.select = 'none'; c.style.cursor = 'pointer'; c.style.position = 'fixed'; c.style.top = '10px'; c.style.left = '10px'; c.textContent = '退出'; c.style.userSelect = 'none'; c.style.display = 'none'; c.addEventListener('click', j); document.body.appendChild(c); function f(b) { if (typeof userData !== 'undefined') { userData.totalFlower = parseFloat(b); userData.realFlower = parseFloat(b); } } })(); setTimeout(function () { if ('undefined' != typeof userData) { userData.isLogin = true; } }, 5000); updateAddictionPreventionTime = function f361(a) { const v = { userRealName: 1, userRealAge: 18, userIsVisitor: false, }; addictionPreventionMsg = ''; addictionPreventionResetTime = -1; addictionPreventionSurplusTime = -1; addictionPreventionUserInfo = v; userData.isLogin = true; if (3 != clientType && _0x5f31ba([32, 188959, 32, 188953, 38, 37]) != clientType && clientType != 7) { countServer.cumulativeEffectiveTime = 0; } }; function shop() { userData.isLogin = true; const mallBuyItem = GloableData._instance.mallBuyItem; mallBuyItem.values = []; for (let i = 1; i <= 24; i++) { mallBuyItem.values.push({ id: i, count: 0, max: 100 }); mallBuyItem[i] = { id: i, count: 0, max: 100 }; } mallBuyItem.keys = Array.from({ length: 24 }, (_, index) => index + 1); } addictionPreventionMsg = ''; addictionPreventionResetTime = -1; addictionPreventionSurplusTime = -1; addictionPreventionUserInfo.userIsVisitor = false; addictionPreventionUserInfo.userRealAge = 18; addictionPreventionUserInfo.userRealName = 1; commonPlayer.loginStatus = true; commonPlayer.platform = 4; commonPlayer.rotate_screen = true; commonPlayer.gameMenu.fullScreen = true; firstSave = true; gLoadAssets.otherSceneUI.NewMall = false; gLoadAssets.otherSceneUI.SSavefile = false; gLoadAssets.otherSceneUI.STitle = true; isM = false; isSCUI = false; mark.H5 = true; mark.WEB = false;