Tweet Directly From Opera’s Address Bar

By | January 2, 2009 | 5 Comments

Dustin Wilson, also known as Khadgar in the MyOpera community has been able to tweet by configuring Opera.

First you have to configure it by adding the data URI:


To use it follow these directions:

1. Copy the long data URI into a text editor and do a text replacement for “opera” then replace it with your twitter username.
2. Do a text replacement for “software” and replace it with your password.
3. Go to Tools → Preferences (or Opera → Preferences on Mac OS X).
4. Click on the Search tab then click the Add… button.
5. In the input box labeled Name type in Twitter.
6. Type in a suitable keyword in the Keyword field. For example tw.
7. Paste in the data URI from your text editor into the Address field and click OK.

Now you should be able to type tw Hello world! and update your status on Twitter with “Hello World!”. As this is just a proof-of-concept it can be expanded to do more such as display an error if you’ve typed in more than 140 characters among other things with javascript.

To make it work, you have to login normally to twitter and you are ready to go.



About (Author Profile)

Comments (5)

Trackback URL | Comments RSS Feed

Sites That Link to this Post

  1. Browsers Tracker, No Ads, More Writers and More | January 8, 2009
  1. WolvenSpectre says:

    1) there is no “opera” or “software” in the code.

    2)there is a “username” and “password” but if you replace them it does not work.

  2. edvakf says:

    And this :)

    I remember testing Dusin’s method a while ago, it had a drawback of multibyte-character garbling. (don’t know if it was fixed already)

  3. Foo says:

    What’s with this overuse of var declarations and the uri encoding of already uri encoded html?

    var username = enc(‘ook’)
    var password = enc(‘eek’)

    You should replace ook with your username and eek with your password.

  4. Thank you for linking to my post. Surprising how quickly this has spread around. Thanks to some stuff edvakf pointed out to me in the My Opera post he linked to in his comment here I decided to have another go at it. My post contains a link to an updated version. I keep the old one around for the hell of it.

    This one works better than the previous one. Same with this one replace ook with your username and eek with your password. It should work better. I’m unsure about multibyte encoding problems with this version however. Considering it’s not having to be urlencoded it should be okay at least with my personal tests.

    Again thanks linking to my post.

Leave a Reply