Despite a few quibbles, I’ve pretty much fallen in love with the desktop Twitter client Tweetbot. But the one thing I really missed from the official Twitter for Mac client was a good browser bookmarklet for Chrome, so I could start a new tweet from the current web page’s URL and document title.
I did find one referenced in this review, but it was DoA in Chrome – does nothing when clicked. With a bit of monkeying around, I’ve modified it to get along with Chrome:
javascript:window.location='tweetbot:///post?text='+encodeURIComponent(document.title)+encodeURIComponent(' ')+encodeURIComponent(window.location.href)
To install: Copy the code above to your clipboard. Create a new bookmark (of any page) and edit its properties. Paste over the URL with the contents of your clipboard. Save, and Bob’s your uncle!
Thanks for this. It wasn’t working for me as above, so I double checked the Tweetbot URL schema and added the optional username path.
My complete snippet is as follows:
javascript:window.location=’tweetbot:///post?text=’+encodeURIComponent(document.title)+encodeURIComponent(‘%20’)+encodeURIComponent(window.location.href)
Note that you also have a small typo with three ‘/’ in the tweetbot protocol.
Hi Todd – Not sure I follow. Your version looks exactly like mine – I don’t see a username in your version, and your version still has the three slashes (which I don’t believe are a mistake).
What browser do you use?
Hi,
Thanks for this. Its working but if Tweetbot windows are maximised the new tweet window goes out of the boundary.
Regie, yes, there’s definitely some window positioning weirdness, but I think that’s a TweetBot bug; don’t believe there’s anything I can do about that. :(
Thank you so much! This is totally what I needed!