thebluemeanie1 / SteamOverride

// ==UserScript==
// @name        SteamOverride
// @namespace   SteamOverride
// @description Overrides Steam's stupid notice
// @include     https://steamcommunity.com/linkfilter/*
// @version     1
// @grant       none
// ==/UserScript==

window.location = getValByName('url');

function getValByName(name) {
    name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
        results = regex.exec(location.search);
    return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}