Skip to content

Instantly share code, notes, and snippets.

@laymonage
Last active January 28, 2019 05:11
Show Gist options
  • Save laymonage/34c99f39751fb21cab3f781cc01dcb7b to your computer and use it in GitHub Desktop.
Save laymonage/34c99f39751fb21cab3f781cc01dcb7b to your computer and use it in GitHub Desktop.
A tampermonkey/greasemonkey user script to disable link filter on https://steamcommunity.com.
// ==UserScript==
// @name Steam Link Filter Disabler
// @namespace https://steamcommunity.com
// @version 0.1
// @description Disable the link filter on steamcommunity links.
// @author laymonage
// @match https://steamcommunity.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var url = window.location.href;
var filter = "https://steamcommunity.com/linkfilter/?url=";
if (url.substring(0, filter.length) === filter) {
window.location.href = url.substring(filter.length);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment