Bookmarklets for Opera Mini

I’ve discovered something very useful which I think will help mobile social tagging to really take off – Opera Mini Bookmarklets.

I’m addicted to bookmarklets, which I use all the time in my web browser. If you haven’t tried them yet, give bookmarklets a whirl. They give you browser toolbar buttons that do all sorts of neat things with the web page you are currently viewing. Like searching Technorati, Bloglines or Google Blogsearch for blog items that refer to the current page. Or counting the number of characters in highlighted text on the page or viewing the page’s headers. There’s one particular bookmarklet that I use constantly. It adds the current page to my links. I store everything in It’s a huge convenience to be able to add to and access my bookmarks from any machine.

I’ve wanted to use bookmarklets in my mobile browser and it turns out that I can with Opera Mini! Bookmarklets require JavaScript which most mobile browsers don’t support. But Opera Mini supports a subset of JavaScript sufficient to run many bookmarklets including the Post to one that I use all the time. Actually I want to start using Mobitopia (review) for my mobile bookmarks but I haven’t been able to find a bookmarklet that works reliably on that site.

There’s no browser toolbar in Opera Mini so you store bookmarklets on the regular bookmarks page. With the Advanced MIDP2 version of Opera Mini you can assign a bookmark to a hot-key so that keying *, 1 adds the current page to, for example.

I think that all versions of Opera Mini support bookmarkets, I used them successfully in 3.1 (both low memory and high memory versions) and 4.0. The tricky part is getting bookmarklets into Opera Mini. There’s no drag and drop or any way to save a link as a bookmark. You need to add bookmarklets manually to the bookmarks page. That’s easy if your phone supports copy and paste. Just copy the bookmark’s code into an email and send it to your carrier’s email to SMS gateway. Bluetooth is another possibility if your phone has the ability to copy and paste from a text file sent by bluetooth. Unfortunately, most phones don’t do copy and paste. I tried and failed to come up with some JavaScript to put in a mobile web page that when clicked would magically add the bookmarklet to Opera Mini like you can in web browsers. You really don’t want to key in the bookmarklet URL – a tedious and error prone process. Fortunately, I’ve found a relatively easy way to send bookmarklets to any phone which I’ll explain below:

To add bookmarklets to Opera Mini I’ve set up a web page that has links to itself with the bookmarklet’s JavaScript appended to end of the link url. The JavaScript needs to be separated from the real url by a slash and a question mark to make it a valid web address. When you visit the link with Opera Mini you can bookmark the page and then edit the bookmark to remove the http url, slash and question mark from the beginning leaving just the JavaScript. If that isn’t clear, keep reading and I’ll go over the process in detail below.

First some Gotchas;

  • Not all bookmarklets will work, as Mini only supports a subset of JavaScript. Opera has a vague description of Mini’s JavaScript support in this document. In addition to the the features that are listed as unsupported in that document I also discovered that JavaScript’s prompt() isn’t supported so any bookmarklets that require the user to enter something will fail. But a lot of JavaScript will work including for loops, if...then...else and user defined functions. You can save some time by testing your bookmarklets in the Opera Mini Simulator. I’ve tested the bookmarklets on and they will work.
  • All phones have a limit on how many characters you can enter or edit in a text box. This can vary greatly. My Motorola i855 can only handle 200 characters but the Nokia 3650 can accept 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 to get you started. To add a bookmark:

  • Visit in Opera Mini and click on any of the links.
  • When the page reloads, press # then 7 (or Menu|Tools|Add Bookmark) to Opera Mini Add Bookmark screen 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 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 for example, press the # key followed by the 2 key which will bring up the bookmarks page.
  • Then select your Post to 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 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 Here’s the process step by step.

  • You need to create a link somewhere on the web that you can access from your phone. 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
  • Create a account if you don’t already have one.
  • Log into 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 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.)
  • 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, log in, click My Tags and then scroll down to and select the bookmark link you just entered. 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

67 thoughts on “Bookmarklets for Opera Mini

  1. Dennis could you please add Lucians’s change background color script to It do work although some editing is needed (there are some spaces on wrong places). And some folks may need it good to have a possibility to change the background and font colors to make some pages easier to read.

    • No, it’s unnecessary as the download is on the web for free. BTW, posting your mobile number on the web is unwise. It can open you up to all sorts of premium SMS and call-back schemes.

  2. how to download the operamini v4.2 to my N70 phone.. anyone who help me on this..

  3. Please add the rest of the bookmarklets to, the updated site contains less bookmarklets. I need the ‘ view plain text as links’ bookmarklet please. Thank you:)

    • Thanks for the heads up, there was an old version of the bookmarklets page showing, I’ve restored it to the current version.

      However I had to remove the “Copy as Text” bookmarklets as they no longer work because the service that they used as been shut down. See: for more information.

  4. javascript:var n=document.firstChild;while(n && n.nodeType!=Node.ELEMENT_NODE) n=n.nextSibling;document.write(” + n.outerHTML.replace(/&/g, ‘&’).replace(/</g, '<‘).replace(/>/g, ‘>’)); for page source. More simple is ‘server:source’ of course :-D

  5. I found you via google search ;-) was wondering if you could try and get the diigo bookmarklet to work with opera mini? – I’m very ignorant with mobiles at the moment, so I don’t know if telling you that I have the Nokia N 95 (just plain vanilla – NO 8Gb) make a difference or not. Hope you can help, as I miss not being able to bookmark on diigo when I’m on the road.

    You are doing a fab job helping out soooo many people. Take care ;-)


  6. Here is one I just found. let me know how it works for you?


  7. JimboJoe,

    Thanks for submitting the Instapaper and Read It Later bookmarklets. Unfortunately, both services hardcode a unique identifier into the bookmark that ties it to a specific account, your account in this case.

    If I try to use these bookmarklets I receive a error message saying that I’m using a bookmarklet for a different account than the one I’m logged into.

    If you want to use these bookmarklets in Opera Mini you could add them to the Opera Mini bookmark folder in Opera 10 on your PC and they would synchronize to your Opera Mini.

  8. Another useful one: Instapaper

  9. Hello,
    First of all, thanks for your nifty page!

    Could you possibly add the following bookmarklets, related to “Read It Later”?
    – Read It Later: javascript:(function(){ISRIL_H=’99ed’;ISRIL_SCRIPT=document.createElement(‘SCRIPT’);ISRIL_SCRIPT.type=’text/javascript’;ISRIL_SCRIPT.src=’’;document.getElementsByTagName(‘head’)[0].appendChild(ISRIL_SCRIPT)})();
    – Mark as Read: javascript:try%20{‘’+encodeURIComponent(document.location.href)+’&h=99ed’,’ril’,’toolbar=0,resizable=0,status=1,width=225,height=140′);}catch(e)%20{%20}void(0);
    – Reading list: javascript:try%20{‘′,’rillist’,’scrollbars=1,toolbar=0,status=1,width=380,height=400′);}catch(e)%20{%20}void(0);


  10. Thanks Joel :) That works also for even more pdf conversion services like pdf to html at


  11. Hi,

    Thanks for this post! I had no idea bookmarklets work in Opera mini, even though I have used it daily for several years.

    I can now finally view pdf files in my mobile phone. I used a bookmarklet from This script converts all pdf links on a page to be opened with Google Docs Viewer, but since the layout doesn’t work on a small screen I changed it to use instead. The pdf:s are converted to images which means that all formatting are intact. Here’s the script:


    Feel free to add it to your list!

  12. Folks, any idea how to convert “full urls as link text: Changes the text of links to match their absolute urls” at

    What I try to accomplish is Opera Mini bookmarklet that change all links on page into URLs. It would be nice on new Opera Mini 5 if user could just select the url on page and copy it. This is because url addresses of certain documents (like pdf) can’t be copied without using very clumsy way with “show page source” bookmarklet.

  13. Pingback: partikelfernsteuerung (pfs) 's status on Wednesday, 16-Sep-09 13:46:43 UTC -

  14. Bold Uppercase – This is the above bookmarklet modified that all the text from a page to appear bold and in UPPERCASE for even better readability. Code:
    javascript:(function(){var x=document.styleSheets [document.styleSheets.length-1];x.insertRule(‘* { text-transform: uppercase;font-weight: Bold; !important;}’,x.cssRules.length);}) ()

    Dual View – When clicked, a pop-up box asks for the fist URL witch will be the left panel and the URL are currently on, will be entered by default, however this can be changed. Once you click ok, it will ask for the right panel URL. It works even in mobile view. Code:


    Split Vertically – Use this bookmarklet to load the current page into two vertically split frames.Code:


  15. Hello again. I have found a bookmarklet that will help you to read coloured pages. With one click, you can make black text and white background page, to read easier.
    Black Text & White Background – javascript: (function(){ var newSS, styles=’* { background: white ! important; color: black !important } :link, :link * { color: # 0000EE !important } :visited, :visited * { color: # 551 A8B !important }’; if(document.createStyleSheet) { document.createSt yleSheet(“javascript:'”+ styles+”‘ “); } else { new SS=document.createEl ement(‘link’); newSS.rel=’stylesheet’; newSS.href=’data:text/ css,’+escape(styles); document.getElementsByTagName (“head”)[0].appendChild(newSS); } } )();

    If you are like me, and you like to read white text on a black background, this is the above bookmarklet, modified to do just that.
    White Text & Black Background -javascript: (function(){ var newSS, styles=’* { background: black ! important; color: white !important } :link, :link * { color: # 0000EE !important } :visited, :visited * { color: # 551 A8B !important }’; if(document.createStyleShee t) { document.createStyleSheet(“javascript:'”+ styles+”‘ “); } else { new SS=document.createEl ement(‘link’); newSS.rel=’stylesheet’; newSS.href=’data:text/ css,’+escape(styles); d ocument.getElementsB yTagName (“head”)[0].appendChild(newSS); } } )();

    I like to read ebooks on my phone using Opera Mini. My favorite site is, where i can find a large collection of good books. But after a wile, my eyes get tired because of the font size and the bright white background.
    So i’ve discovered and modified, a bookmarklet that will make all the characters from a page to be bold. It doesn’t work on all web sites, but on the vast majority, it will get the job done.
    Bold Text – javascript:(function(){var x=document.styleSheets [document.styleSheets.length- 1];x.insertRule(‘* { font-weight: Bold !important; }’,x.cssRules.length);}) ()

  16. I have found three bookmarklets
    KeepHD – KeepHD is a tool that lets you download HD videos off Youtube!
    You can download HD copies of your movies, and also download the mobile 3GP version for your mobile devices plus the standard MP4 and FLV format. Add the bookmarklet to your bookmarks, and go to YouTube, choose a video to watch, and click the on the bookmarklet. KeepHD will automatically grab each version of the video you want to download.Choose the prefered video format and save it to your device.This is the script:


    Send it – Dropvine makes it easy to send links to one or more friends in just a few seconds. First you need to register by going to and to provide them the email addresses of your friend(s). After that just add the bookmarklet to your bookmarks and use it to quickly forward a link to your friends or even to yourself.
    Here how it works. Say you’re on Youtube and you’re watching a funny video that you want to show to your friends. You click the Dropvine “Send it” bookmarklet and you’re taken to the New Link page with the URL already filled in on the form. All you have to do is click witch friends you want to send it to, and optionally add a short message. You click send and the link arrives in their Dropvine inbox, and they are sent an email notification.

    javascript:-1,location.href=’’ encodeURIComponent(location.href)

    Twitthat! – To make it easier to share articles and cool finds on Twitter, use the ‘Twitthat’ bookmarklet. To share an article, click the bookmarklet and a new window opens. First time you need to login in to your Twitter account and then you can modify the tweet. Click the ‘Twit!’ button and its done.

    javascript:-1,location.href=’’ encodeURIComponent(location.href) ‘&title=’ ((document.title)?encodeURIComponent(document.title.replace(/^\s*|\s*$/g,”)):”)

  17. This is the correct javascript code of the Super Screenshot bookmarklet


    Sorry about the wrong code in the previos post.

  18. When you need to get a screenshot of a web page, this bookmarklet helps alot.
    Almost instantly, presents you the full page screenshot and also you can set the size and format form the page displayed. This bookmarklet uses a service provided by site.
    However the bookmarklet has some limitations.
    The screenshot bookmarklet doesn’t follow redirects.
    If the URL is behind a login screen or is the result of your curent session or other cookies (like a shopping cart), the page will be shown without this context like the first time you visited the URL.
    If the web page contains a lot of images or advertisements, it can take several seconds to load the page. In Opera Mini you need to refresh the page to see the screenshot.
    Super Screenshot renders pages with the Safari browser engine so captured pages looks like in the Safari browser.
    Here is the JavaScript code

    javascript:-1,-1,void(location=’’ escape(location))

  19. Here is two useful bookmarklets

    Calculator – A simple JavaScript calculator bookmarklet that you can use right from your browser (Don’t put a = at the end; this will confuse it)

    javascript:-1,-1,eval(‘function calc(){_o=prompt(_t,_z);if(_o!=\’\’&&_o!=null&&_o.toUpperCase()==_o.toLowerCase())_z=eval(_o);}’);_t=’JAVASCRIPTER.NET Calculator – Input the expression to be calculated:’;_z=”;calc();while(_o!=”&&_o!=null&&_o.toUpperCase()==_o.toLowerCase())calc()

    Convert It! – A bookmarklet from that let you convert and save videos from You Tube, Google Video, Metacafe, Dailymotion… (Visit http:
    // to see a full list of supported video sites)
    Here how it works
    1 Add this bookmarklet to Opera Mini bookmarks.
    2 Now go to any You Tube or Google Video, here’s one to save time:
    3 Now click the Convert It! bookmarklet from your bookmarks.
    4 You will be taken to a page and the first box is already filled in with the video url so go to the second box and select a file type that you want your video to be converted.
    5 In the next box enter your email address as they will send you the file when it is finished converting.
    6 Click Convert.
    7 You will be prompted to confirm your email address. Press OK.
    8 Wait.
    9 Check your inbox and there it is.

    javascript:-1,-1,209,void(function(){try{window.alert;return false;;}catch(e){}}());(function(){var scriptElem = document.createElement(‘SCRIPT’);scriptElem.setAttribute(‘language’, ‘JavaScript’);scriptElem.setAttribute(‘src’, ‘’);document.body.appendChild(scriptElem);})()

  20. I have found a couple of useful bookmarklets that work in Opera Mini.

    Stumble It! – Stumble a web page that you liked.

    javascript:-1,-1,document.location.href=’’ document.URL ‘&title=’ document.title.replace(/ /g,’ ‘);

    Google Bookmark – Bookmark a page using Google own Google Bookmarks service

    javascript:-1,-1,(function(){var a=window,b=document,c=encodeURIComponent,“” c(b.location) “&title=” c(b.title),”bkmk_popup”,”left=” ((a.screenX||a.screenLeft) 10) “,top=” ((a.screenY||a.screenTop) 10) “,height=420px,width=550px,resizable=1,alwaysRaised=1”);a.setTimeout(function(){d.focus()},300)})();

    Linkify – Make all plain text URL’s on a web page into clickable hyperlinks.


    Post to – Post your favorite pictures to the photo-sharing website

    javascript:-1,(function(){function l(u,i){var d=document;if(!d.getElementById(i)){var s=d.createElement(‘script’);s.src=u;;d.body.appendChild(s);}}l(‘’,’visualizeus’)})();

    This bookmarklet does not work in mobile view.
    If you think that are useful please add this bookmarklets to

  21. It happened to run across a page
    that promised to be
    the toolbarless
    need to give a thumbs
    up to something and
    Its design for Firefox but works well in Opera Mini too.
    Here is the bookmarklet
    javascript:-1,-1,document.location.href=’’ document.URL ‘&title=’ document.title.replace(/ /g,’ ‘);

  22. @Lucian,

    I’ve added a Yahoo! Bookmarks bookmarklet to


  23. @Yeha
    I’d like a linkify bookmarklet for Opera Mini too. I tried to make one and failed. None of the existing linikfy bookmarklets for IE or Firefox seem to work in Windows Opera 9.63 on the desktop let alone in Mini.

    The code you sent me seems to be a plugin for the Maxthon browser. I have no idea of how to turn it into an Opera Mini bookmarklet. It’s much too large in any case, Mini bookmarklets are limited to 400 bytes.

    If you can find a linkify bookmarklet that is short (under 380 bytes) and works in Opera 9.63, it will probably work in Opera Mini too using the technique described in this post. Good luck finding one though, I couldn’t.

  24. Could you make “linkify” for opera mini?
    “linkify” source is this :


    // e-mail and frame-support and counter by mdlist

    function no_error() {
    return true;

    o = 0;

    A.href=”http://” +;
    A.href=”mailto:” +;
    else if(n.tagName!=”STYLE”&&n.tagName!=”SCRIPT”&&n.tagName!=”A”)

    function getA(){
    top.status=o+” links linkified”;
    return A;


  25. Thanks for the useful bookmarklets… fyo they also work on the Palm Treo (Blazer). I have a suugestion for an addition to your list: is a search engine/web command line with user-definable commands. A mobile bookmarklet to invoke YubNub commands with arguments would be extremely useful.

  26. Oh i forgot to add the link,*)$/,%22$1%22);location.href=%22;%7D)())

    I know it cant be added directly to OM due to the text size limit, but i am looking for a workaround.

  27. This google cache bookmarlet will let you get the cached page of the current webpage. Would be of great help when you cant see the webpage due to server timeouts or other site issues. Works fime on OM.

  28. If you substitute your login id for the “post” in… then you can define tag values that are passed to the Delicious Bookmark page. So instead of the above, use this:

    javascript:location.href=’{your login name here}?tags=OM4&v=4&url=’+encodeURIComponent(location.href)+’&title=’+encodeURIComponent(document.title)

  29. Pingback: Mike Rowehl: This is Mobility » Blog Archive » View in Mowser Opera Mini Bookmarklet

  30. I added +’&tags=operamini’ into quick bookmarklet. That way I can bundle all bookmarks saved from Opera Mini. For some reason I keep getting blank page after using that quick bookmarklet, but it was doing so even before I edit that.

  31. Serola,

    Thanks for letting me know about the bad links. It should be fixed now. I really appreciate hearing about stuff like that, I want everything on this site to work!


  32. Links on this article at wp-mobile.php does not work any more. For example link to is not linked to corresponding URL.

  33. Jorge, I finally got around to adding the :bMarks bookmarklet to Sorry it took so long. :bMarks is very nice, I’m working on a post covering it for the blog.

    BTW; the bookmarklet on the :bMarks site is too long to work in Opera Mini on some phones, like my Motorola i855. The JVM on that phone doesn’t support a textfield holding more than 252 characters. So I created a shorter version of the bookmarklet that doesn’t pass the description field. Both the original and the short one are on now.


  34. Works perfectly! I adapted the bookmarklet to automatically add the current url, title, and meta description into my ‘add bookmark’ form at (bookmarklet location: Please add my bookmarklet to if you get a chance. I added a link to this post at the bottom of b.php, thanks for the help!

  35. I use and recommend Bloglines Mobile to read feeds in Opera Mini because that way my subscriptions and read items are in sync across all my phones and PC’s.

    But to answer your question, you can save feeds to with the bookmarklet. But there is an extra step because Opera Mini adds an extra “http://view:0//” to the front of the feed url.

    1) While viewing a feed’s index in Opera Mini, use the Save to bookmarklet as you normally do.

    2) When the page loads, edit the url, delete the “http://view:0//” at the beginning:

    i.e; Change:



    Then save in


  36. Thanks. I use opera mini and it has problems dealing wth bookmarks and feeds. Can i do someth to manage my feeds in a similar way?

  37. Pingback: MobPoint Blog » Blog Archive » Mobile Bookmarklets

  38. Pingback: Mike Rowehl: This is Mobility » Blog Archive » Opera Mini Bookmarklets

  39. Pingback: Add bookmarklets to your Opera Mini browser » Opera Watch

  40. Pingback: Arve Bersvendsen

Comments are closed.