Non-blocking S1

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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

    }
})();