Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Slack Redirect URL remove for Tampermonkey
// ==UserScript==
// @name Slack Direct Link
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://*.slack.com/messages/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
$('a[data-referer-safe="1"]').unbind('click').unblind('mouseover');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment