bypass.me

Bypass viid.me (present on dpstream.net by example) and sh.st. Thanks to the site checkshorturl.com. By adding good includes, must work with adf.ly, etc.

Mint 2018.01.16.. Lásd a legutóbbi verzió

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                bypass.me
// @name:fr             bypass.me
// @description         Bypass viid.me (present on dpstream.net by example) and sh.st. Thanks to the site checkshorturl.com. By adding good includes, must work with adf.ly, etc.
// @description:fr      Permet de contourner les 5 secondes de viid.me et sh.st (liens présents sur dpstream.net par exemple). Doit aussi marcher avec adf.ly ou d'autre, à essayer
// @include             http://viid.me/*
// @include             http://sh.st/*
// @include             http://clkmein.com/*
// @include             http://corneey.com/*
// @include             http://destyy.com/*
// @include             http://gestyy.com/*
// @include             https://www.dpstream.net/external_link/*
// @include             https://www.dpstream.net/*
// @grant               GM_xmlhttpRequest
// @run-at              document-start
// @version             2.25
// @namespace           https://greatest.deepsurf.us/users/92186
// @run-at document-start
// ==/UserScript==


if(document.URL.includes("https://www.dpstream.net/external_link/")) {

    window.onload = function(){

        var myregex = /onclick=\"window.open\(\\'(.*)\\',/g;
        var match = myregex.exec(document.body.innerHTML);

        if(match.length == 2) {
            location.href = match[1];
        } else {
            var apiUrl = 'http://checkshorturl.com/expand.php?u=';
            var shortUrl = document.URL;

            window.stop();

            var ret = GM_xmlhttpRequest({
                method: "GET",
                url: apiUrl + shortUrl,
                onload: function(res) {
                    var div = document.createElement('div');
                    div.innerHTML = res.responseText ;
                    var result = div.getElementsByTagName('table')[0].rows[0].cells[1];
                    expandedUrl = result.textContent;
                    location.href = expandedUrl;

                }
            });
        }
    };
}

window.onload = function () {document.getElementById("loginModelForNotConnected").id = "noMoreModel";};