畅玩4399

4399去未成年和登录限制弹窗,目前仅限h5小游戏

当前为 2023-07-11 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         畅玩4399
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  4399去未成年和登录限制弹窗,目前仅限h5小游戏
// @author       毅
// @match        *://*.4399.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @require           https://cdn.bootcdn.net/ajax/libs/jquery/3.2.1/jquery.min.js
// @license           GPL License
// ==/UserScript==

(function() {
    'use strict';
    window.onload = function(){
        /*
                $('#bigdiv').append(`
        <button style="position:absolute;top:150px;left:10px;">edge切换IE</button>
        <script>
          window.onload = function(){
           }
        </script>
        `);
        */
        $('#Anti_mask').after(`
        <script>
          function a(){
            $('#Anti_mask')[0].style.display = 'none';
           $('.fcmdialog')[0].style.display = 'none';
           setTimeout(()=>{
             console.log($('#ageIframes')[0]);
             $('#ageIframes')[0].style.display = 'none';
              $('#addiv')[0].style.display = 'none';
              $('#pusher')[0].style.display = 'none';
           },5000);
           //
         }
        a();
        </script>
        `)
    }
    // Your code here...
})();