在您安装前,Greasy Fork 希望您知道此脚本包含可能不受欢迎的功能,也许会帮助脚本作者获利,而不能给你带来任何收益。
你只有在参与某些事后才能使用脚本的全部功能,如加入某群组、订阅某频道或在某页点赞等。
脚本作者的说明:
领奖励超过20次将要求你看一次4399的广告,毕竟游戏作者要吃饭
[✨免游戏开始前广告]更快进入游戏[🔥免广告领奖励]不用看广告,奖励领到吐[★开发者福利]拒绝4399疯狂调试
目前为
// ==UserScript== // @name 43xx增强 // @namespace https://fcmsb250.github.io/ // @version 0.2 // @description [✨免游戏开始前广告]更快进入游戏[🔥免广告领奖励]不用看广告,奖励领到吐[★开发者福利]拒绝4399疯狂调试 // @author dsy // @include *://*.iwan4399.*/* // @include *://*.aiwan4399.*/* // @include *://*.4399.*/* // @include *://*.*4399.*/* // @include *://*.4399*.*/* // @include *://*.zxwyouxi.*/* // @icon https://4399.com/favicon.ico // @license MIT // @antifeature membership 领奖励超过20次将要求你看一次4399的广告,毕竟游戏作者要吃饭 // ==/UserScript== // NO CTRL+C OR CTRL+V // NO CTRL+C OR CTRL+V // NO CTRL+C OR CTRL+V var script1 = document.createElement("script"); script1.innerHTML = '\ console.log("[43xx增强] 代码注入成功");\n\ var times = 0;\n\ if (window.h5api) {\n\ var sbAD = h5api.playAd;\n\ }\n\ setInterval(function () {\n\ if (window.h5api) {\n\ h5api.playAd = function (t) {\n\ if (times >= 20) {\n\ if (confirm("要不您让游戏作者吃口饭")) {\n\ sbAD(t);\n\ times = 0;\n\ }\n\ } else {\n\ if (t) {\n\ t({\n\ code: 10001,\n\ message: "播放结束",\n\ });\n\ console.log("[43xx增强] 已阻止广告并发放奖励");\n\ times += 1;\n\ window.lastCallback = t;\n\ console.log("回调:", t);\n\ }\n\ }\n\ };\n\ h5api.canPlayAd = function (t) {\n\ if (t) {\n\ t({\n\ canPlayAd: true,\n\ remain: 50,\n\ });\n\ console.log("回调:", t);\n\ }\n\ console.log("[43xx增强] 正在检测是否能播放广告");\n\ return true;\n\ };\n\ }\n\ if (window.consoleOpenCallback) {\n\ console.log("[43xx增强] 已阻止疯狂调试模式");\n\ consoleOpenCallback = function () {};\n\ check = function () {};\n\ clearInterval(window._windon_handler);\n\ }\n\ }, 2000);\n\ '; window.onload = function () { document.head.append(script1); }; /////////////////////////////////////////////// (function () { console.log("[43xx增强] 代码注入成功"); var times = 0; if (window.h5api) { var sbAD = h5api.playAd; } setInterval(function () { if (window.h5api) { h5api.playAd = function (t) { if (times >= 20) { if (confirm("要不您让游戏作者吃口饭")) { sbAD(t); times = 0; } } else { if (t) { t({ code: 10001, message: "播放结束", }); console.log("[43xx增强] 已阻止广告并发放奖励"); times += 1; window.lastCallback = t; console.log("回调:", t); } } }; h5api.canPlayAd = function (t) { if (t) { t({ canPlayAd: true, remain: 50, }); console.log("回调:", t); } console.log("[43xx增强] 正在检测是否能播放广告"); return true; }; } if (window.consoleOpenCallback) { console.log("[43xx增强] 已阻止疯狂调试模式"); consoleOpenCallback = function () {}; check = function () {}; clearInterval(window._windon_handler); } }, 2000); });