Non-blocking S1

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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);

    }
})();