Non-blocking S1

以脱了裤子放屁的温柔方式提醒saraba1st.com/2b用户关闭广告屏蔽插件

当前为 2019-03-22 提交的版本,查看 最新版本

// ==UserScript==
// @name         Non-blocking S1
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  以脱了裤子放屁的温柔方式提醒saraba1st.com/2b用户关闭广告屏蔽插件
// @author       ownstars
// @match        https://*.saraba1st.com/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    window.alert = function(msg) {
        var box = document.createElement('div');

        box.id = "nonblockingpop";
        box.innerHTML=msg;
        box.style.float = 'right';
        box.style.position = 'fixed';
        box.style.background = '#d7dec7 none repeat scroll 0% 0%';
        box.style.opacity = '0.85';
        box.style.padding = '10px';
        box.style.top = '3em';
        box.style.right = '1em';

        document.body.appendChild(box);

        setTimeout(function(){
            var box = document.getElementById('nonblockingpop');
            box.parentElement.removeChild(box);
        }, 2000);

    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址