Created
May 13, 2015 18:37
-
-
Save matthewfranglen/a41b7b1248e3dabd41d8 to your computer and use it in GitHub Desktop.
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=','')));})) |
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
This should be made more generic by searching for event handling attributes on links and removing them.