Created
December 17, 2013 02:43
-
-
Save andrewsardone/7999130 to your computer and use it in GitHub Desktop.
Tweetbot bookmarklet. I'm sure other people have better, more robust ones, but this bookmarklet works for me.
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
javascript:(function()%7Bwindow.open(location.href.replace(%2Fhttps%3A%5C%2F%5C%2F(mobile.)%3Ftwitter.com%5C%2F%2F%2C%20%22tweetbot%3A%2F%2F%22).replace(%22statuses%22%2C%20%22status%22)%2C%20%22_self%22)%7D)() |
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
// Simple and probably error-prone | |
window.open(location.href.replace(/https:\/\/(mobile.)?twitter.com\//, "tweetbot://").replace("statuses", "status"), "_self"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment