tvkanters / Steam Link Filter Disabler

// ==UserScript==
// @name        Steam Link Filter Disabler
// @namespace   http://tvkdevelopment.com
// @author      tvkanters
// @description Disables Steam's link filter by automatically following the requested link.
// @include     https://steamcommunity.com/linkfilter/*
// @version     2
// @grant       none
// @run-at      document-start
// ==/UserScript==

var fullUrl = window.location.href;

var key = "url=";
var startIndex = fullUrl.indexOf(key);
if (startIndex == -1) {
    key = "/linkfilter/";
    startIndex = fullUrl.indexOf(key);
}
startIndex += key.length;

window.location.href = fullUrl.substring(startIndex);