Tweet using Opera's address bar
Thursday, September 18, 2008 8:31:19 AM
Dustin Wilson (also known as "Khadgar") always enjoys a challenge. His latest project was to get Opera's custom search feature work with the update form on Twitter, so he could do all his Tweeter updates using the address bar. Well, that would work as long as there's an active auth session, so it's not usable unless you've already logged in.
After many hours trying out different solutions how to send data, he falled back on using a data URI (please read his own excellent blog post if you want all the juice). It's somewhat long and messy, but it does the trick:
To use it follow these directions:
- Copy the long data URI into a text editor and do a text replacement for "opera" then replace it with your twitter username.
- Do a text replacement for "software" and replace it with your password.
- Go to Tools → Preferences (or Opera → Preferences on Mac OS X).
- Click on the Search tab then click the Add… button.
- In the input box labeled Name type in Twitter.
- Type in a suitable keyword in the Keyword field. For example tw.
- Paste in the data URI from your text editor into the Address field and click OK.
Now you should be able to type tw Tweet! and update your status on Twitter with "Tweet!". 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. We're super happy Dustin thought he'd challenge himself to see if it could be done.
Imagery from Dustin Wilson's Web site: http://dustinwilson.com/