adigsc007 / Bypasser SafeLink

// ==UserScript==
// @name        Bypasser SafeLink
// @namespace   SafeLink to Decrypt2
// @description Bypass Ads
// @copyright   2017+, Adi Hari Setiawan (at)adiharistwn
// @include     http://safelinkreviewed.com/en/cost/*
// @icon        http://safelinkreviewed.com/favicon.ico
// @version     1
// @run-at      document-start
// @grant       none
// ==/UserScript==

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, " "));
};

// query string: ?foo=lorem&bar=&baz
var id = getParameterByName('id'); // "lorem"
var c = getParameterByName('c'); // "" (present with empty value)
var user = getParameterByName('user'); // "" (present with no value)

//window.location = "https://decrypt2.safelinkconverter.com/index.php?id="+id+"c="+c+"user="+user+"&pop=2";
top.location = "https://decrypt2.safelinkconverter.com/index.php?id="+id+"c="+c+"user="+user+"&pop=2";