Created
October 30, 2015 19:03
-
-
Save reefdog/b7b9b86f49fc044397ae to your computer and use it in GitHub Desktop.
Favstar to Twitter redirect bookmarklet
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
(function() { | |
var href = window.location.href; | |
var parts = href.match(/favstar\.fm\/users\/([\w]{1,15})\/status\/([0-9]+)$/); | |
if (parts) { | |
window.location = 'https://twitter.com/' + parts[1] + '/status/' + parts[2]; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment