Skip to content

Instantly share code, notes, and snippets.

@GarrettS
Created January 29, 2012 18:58
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save GarrettS/1700145 to your computer and use it in GitHub Desktop.
Save GarrettS/1700145 to your computer and use it in GitHub Desktop.
UsurpTCO
javascript: void(function(){document.addEventListener("mousedown", tcoToLinkTitleURL, true); function tcoToLinkTitleURL(ev) { var target = ev.target; if(/^http(?:s?):\/\/t.co\//.test(target.href)) target.href=target.title; } }());
@GarrettS
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment