🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

AnIppo

Internet positif is fuckin annoying

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name         AnIppo
// @namespace    none
// @version      0.3
// @description  Internet positif is fuckin annoying
// @author       Chezt
// @connect      *
// @grant        none
// @match        *://*/*
// ==/UserScript==

if(window.location.hostname == "internetpositif.uzone.id") {
    if(document.referrer !== null) {
        history.replaceState(null, null, "http://" + window.location.hostname + "#RealUrl=" + document.referrer);
        document.title = "Inet positip embe :/";

        var body = document.body;
        var text = "Inetpositip berulah, </br> gunain proxy gih </br> ini link aslinya </br> <h3> <a href='" + document.referrer +"'>" + document.referrer + "</a> </h3>";

        if(body === null) {
            document.createElement("body").innerHTML = text;
        } else {
            body.innerHTML = text;
        }
    }
}

(function() {
    'use strict';
    var _checkTryAnipoLimit = 10; // Limit Try
    var _checkTryAnipoSpeed = 500; // value / 1000 = detik
    var _checkTryAnipoA = 0;
    var _checkTryAnipoB = 0;
    var cfs_script;
     function inetPositifEmbe() {
         if(typeof cfs_closed === "undefined") {
             return;
         }
         var _instifBody = document.body;
         var _instifCfs = document.getElementById("cfs_top_div");
         var _asli = document.getElementById("cfs_div_2");
         if(_instifCfs !== null)
            _instifCfs.remove();
         if(_asli !== null)
            _instifBody.innerHTML = _asli.innerHTML;
         if(_instifCfs !== null && _asli !== null) {
             _instifCfs.remove();
             _instifBody.innerHTML = _asli.innerHTML;
             return;
         }


         return setTimeout(_checkVarInetPositif, _checkTryAnipoSpeed / 2);
     }
    document.onreadystatechange = function () {
        if(document.readyState === 'complete') {
            return setTimeout(_checkVarInetPositif, _checkTryAnipoSpeed, true);
        }
    };
    // cek jika asyc inetpositip udah kelar
    function _checkVarInetPositif(isReady) {
        isReady = typeof isReady !== 'undefined' ? isReady : false; // Gak bisa ES6 :(
        cfs_script = null;
        if(typeof cfs_closed !== "undefined") {
            cfs_script = null;
            cfs_script_r = null;
            cfs_closed = 0;
            inetPositifEmbe(); // Cek jika sudah terlanjur ke inject :<
            return;
        }
        if(!isReady) {
        _checkTryAnipoB++;
        if(_checkTryAnipoB > _checkTryAnipoLimit)
            return;
        } else{
        _checkTryAnipoA++;
        if(_checkTryAnipoA > _checkTryAnipoLimit)
            return;
        }
        return setTimeout(_checkVarInetPositif, _checkTryAnipoSpeed);
    }
    _checkVarInetPositif();
    // Coba cek cepet jika variable sudah ada maka override
    cfs_script = (function() {
        if(typeof cfs_closed !== "undefined")
            GM_log("ffs spidol stop inject ur fuckin ads");
    })();
})();