Skip to content

Instantly share code, notes, and snippets.

@guehara
Created February 16, 2018 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/c60ea5a148c71d749e2a8e708c29db6b to your computer and use it in GitHub Desktop.
Save guehara/c60ea5a148c71d749e2a8e708c29db6b to your computer and use it in GitHub Desktop.
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