Last active
December 24, 2015 00:39
-
-
Save thunklife/6717929 to your computer and use it in GitHub Desktop.
Replaces the t.co URL in twitter links (twinks, get it?) with the expanded one because my work proxy blocks t.co
This file contains hidden or 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
| //Because I read twitter at work | |
| //Because we have a proxy that blocks t.co but not twitter.com | |
| //Because I have rewritten this from scratch more than once and not saved it | |
| //I'm keeping this here. | |
| //Paste into bookmarklet, run when I open twitter, be happy. | |
| javascript:(function(){$(document).on("hover","a.twitter-timeline-link",null,function(){var $this = $(this), xUrl = $this.attr("data-expanded-url"); $this.attr("href", xUrl);});})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment