igg-games.com ad skip

igg-games ad skipper

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         igg-games.com ad skip
// @namespace    https://igg-games.com/
// @version      0.1
// @description  igg-games ad skipper
// @author       _Chelos_
// @match        bluemediafiles.com/creatinglinks*
// @match        megaup.net/*/*
// @grant        none
// ==/UserScript==
switch(window.location.host){
    case "bluemediafiles.com":{
window.location = "http"+getParameterByName("xurl");
    break;
}
    case "megaup.net":{
        let checktick = setInterval(()=>{
            let el = document.querySelector("a.btn")
            if(el){
                clearInterval(checktick);
                window.open(
  el.href,
  '_blank' // <- This is what makes it open in a new window.
);
                window.open('','_self').close()
            }
        },100)
       break;
    }
}
function getParameterByName(name, url) {
    if (!url) url = window.location.href;
    name = name.replace(/[\[\]]/g, '\\$&');
    var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
        results = regex.exec(url);
    if (!results) return null;
    if (!results[2]) return '';
    return decodeURIComponent(results[2].replace(/\+/g, ' '));
}