Instant Twitter Bookmark

Tonight’s been a busy night for silly coding :)

This first post is about a short-cut i’ve created do an instant twitter. Just create a bookmark with the following code (tested only in Chrome), and when you want to tweet, just click the bookmark, type your twitter message and then click “upload”.

Saves having to open the twitter window each time, etc etc…This code is based on something i found elsewhere on the net, but modified slightly so it doesnt need to use their custom server-side scripts – its all JS talking to Twitter.com

javascript:void(window.open(“http://twitter.com/home?status=” + window.prompt(“Enter your twitter status”, “bored…”), ‘tweeting’, ‘scrollbars=no,width=550,height=250,top=175,left=75,status=yes,resizable=yes’))

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>