Created
May 13, 2015 18:37
Star
You must be signed in to star a gist
Remove slack-redir.net from slack links
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
javascript:void($('a[href][onmouseover][onmousedown]').each(function(){$(this).removeAttr('onmouseover').removeAttr('onmousedown');href=$(this).attr('href');$(this).attr('href',decodeURIComponent(href.replace('https://slack-redir.net/link?url=','')));})) |
bw-matthew
commented
Jun 2, 2015
This should be made more generic by searching for event handling attributes on links and removing them.
built a chrome extension to eliminate the trip to slack-redir: https://github.com/jdanyow/slack-direct
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment