QR-code bookmarklet

Short description

This bookmarklet provides a way to quickly generate a QR-code from a current page URL, selection, or arbitrary text if the respective bookmark is configured to work as a keyword search in your browser. This is very useful when you are browsing something on your computer and want to open the same thing on your phone, without resorting to sending yourself an email, IM message, or something of that sort.

How do I use it?

Bookmarklet

Keyword search

Firefox only:

Powertip: instead of "opening" using the Enter key, which draws the QR-code in the current window, you can use Ctrl-Enter (Cmd-Enter on Mac) to open it in a new tab. This does not work properly for the selection/current page URL though. In Vimperator you can use :tabopen to open in a new tab.

How do I install it?

Installing the bookmarklet

To install it as a bookmarklet, drag and drop the following link to your bookmarks toolbar (or just add it to your bookmarks): QR-code it!.

Installing the keyword search

Fineprint (important!)

Currently Google Chart API is used to generate the QR-code. That means that any text or link that you convert into a QR-code is sent to a Google server, is probably retained and could be linked to your Google account if you have one. If you want privacy, this tool (bookmarklet/keyword search) is not for you!

You are free to use it however you like (including the modification and redistribution of the bookmarklet code), just don't blame me if it doesn't work. I provide no guarantees whatsoever that it works with any particular browser, or that it will work in future.

2012-02-23, Ivan Tarasov