- 5000. Some of the more interesting bookmarklets are well over 200 characters which may limit which ones you can use.
- In Opera Mini, bookmarklets execute on the server not the browser. This means that any references to the current page will be to the last page loaded from the server. When you hit the Back button the previous page is loaded from the local browser cache but the Opera server still thinks you are on the last page you loaded so bookmarklets will execute as if you were still on the previous page. The workaround is, after hitting Back , refresh the page with #,0 before using any bookmarklet on that page.
Quick Start - Adding Bookmarklets to Opera Mini
I've put a few tested bookmarklets on o.Yeswap.com to get you started. To add a bookmark:
- Visit o.Yeswap.com in Opera Mini and click on any of the links.
- When the page reloads, press # then 7 (or Menu|Tools|Add Bookmark) to

bookmark the page.
- On the Opera Mini Add Bookmark page (image) change the bookmark's title to something meaningful.
- Now edit the Address field and delete everything before the javascript: part (i.e. delete http://o.Yeswap.com/? from the beginning of the address).
- Hit OK, check the Display on Home Page: check box and then press Save
Using Bookmarklets in Opera Mini
So now that you have a bookmarklet or two in Opera Mini how do you use them? It's really very simple.
- When you are on a page that you want to add to del.icio.us for example, press the # key followed by the 2 key which will bring up the bookmarks page.
- Then select your Post to Del.icio.us bookmarklet and press OK. You will be taken to the Delicious Add page with the Title and Description fields already filled in (you might be prompted to log in to del.icio.us first). Enter a tag or two and press Save.
How to add your own bookmarklets
So how to add your own bookmarklets to Opera Mini if you don't have a web page? It's pretty easy to do using del.icio.us Here's the process step by step.
- You need to create a link somewhere on the web that you can access from your phone. Del.icio.us is ideal for this because it's free, available and easy to use - but you can create the link anywhere, your blog, MySpace, Yahoo Bookmarks etc. These instructions assume you are using del.icio.us.
- Create a del.icio.us account if you don't already have one.
- Log into del.icio.us and click Post on the top menu. In the URL input field, type the url of a valid website, Ideally a short simple one that loads quickly on a phone and which has doesn't already have a question mark character in it's url. You can use http://o.Yeswap.com if you want. Enter the url followed by a slash and a question mark and then paste the bookmarklet code (which will always start with javascript:) after the question mark. Here's an example. (The JavaScript has been truncated to fit this page.)
http://o.yeswap.com/?javascript:location.href=...
- Press Save, then fill in the Description and optionally the Tags field. I recommend using the tag minibookmarklet to make these tags easy to find and share.
- Next using Opera Mini, go to del.icio.us, log in, click My Tags and then scroll down to and select the bookmark link you just entered. o.yeswap.com or whatever page's url you used should load. Do not click on any of the links as that will navigate off the page which has your bookmarklet's JavaScript embedded in it's url.
- Bookmark the page in Opera Mini and edit the bookmarklet as described above.
If you find or write any bookmarklets that are useful and work in Opera Mini, drop me a comment and I'll add them to o.yeswap.com.
Pages: 1 2
posted by Dennis Bournique
February 1, 2007 @ 8:31 pm
7 View Comments