Linkoder

By Vorn Last update May 28, 2009 — Installed 339 times.

QRcode of the current page

in
Subscribe to QRcode of the current page 4 posts, 3 voices



esquifit Scriptwright

Nice idea. Providing a QR of the currently loaded page would be also nice, since one normally finds a page interesting by first inspecting it, and then decides to capture its url, same way as with bookmarks. The page's code could be displayed when the mouse nears the edge of the page, or upon pressing some key combination, of even through a GM menu command or ordinary bookmarklet.

 
esquifit Scriptwright

There is a script by Brian Short at http://userscripts.org/topics/23121 which generates the code for the current page.

 
Gregory Krohne User

Google provides a QR code generator, too.

http://code.google.com/apis/chart/types.html

Perhaps, the script could be modified to randomly or cyclically choose between Nokia and Google, to balance the load. I think this is the way the Google string would have to be scripted:

var dst = 'http://chart.apis.google.com/chart?cht=qr&chl=' + escape(src.href) + '&choe=UTF-8&chs=100x100';

 
Vorn Script's Author

Updated to use Google chart API (been meaning to do this for aaages - done now)

Thx guys

@vornstar

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel