Created
July 31, 2014 10:58
-
-
Save Infocatcher/14c2999fcc980d368347 to your computer and use it in GitHub Desktop.
Auto-redirect from links like https://steamcommunity.com/linkfilter/?url=http://i.imgur.com/mIGMXc7.gif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Skip steamcommunity.com/linkfilter | |
// @namespace dev/null | |
// @include https://steamcommunity.com/linkfilter/?url=* | |
// @version 0.1 | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
if(/\?url=(.*)$/.test(location.href)) | |
location.replace(RegExp.$1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment