{Carrer web log} ←
URL to QR Bookmarklet
Monday, June 11, 2012 { 14 Comments }
I thought that it can be handy to have some way to copy web browser url to mobile browser url without wasting time and auto sanding emails. The simple solution can be making the QR code from the current domain and scanning that QR your mobile phone.I made simple bookmarklet that takes the current web browser url and inserts the QR photo inside the browser. It only takes one line of jQuery code and the simple web services read more here http://www.webmaster-source.com/2010/10/11/generate-qr-codes-on-the-fly-with-the-google-chart-api/
Here is the code used for this bookmarklet(jQuery):
Or pure JavaScript code:
Save some precious time and use this bookmarklet:
URL to QR - Drag or Save this link to your bookmarks
To remove the QR code from the web page simply Refresh the web browser.
If you don't know what is Bookmarklet here is the Wikipedia link
Update: thanks to Gergely Iharosi for the Close Button https://gist.github.com/2909104
14 Responses to “URL to QR Bookmarklet”
- // Aaron T. Groggq // 6/11/2012
-
// Unknown
// 6/11/2012
I've just created a simple close button:
https://gist.github.com/2909104 - // Vladimir // 6/11/2012
- // Tim Iles // 6/11/2012
-
// Tim Iles
// 6/11/2012
Hmm, my previous comment is confusing, because of course, you actually are loading jQuery in order to add the img to the DOM in the first place... However $ falls out of scope (for me at least) before I click close, so I get "TypeError: undefined is not a function" (which is where a non-jQuery close button would avoid this problem).
- // thujohn // 6/12/2012
-
// thujohn
// 6/12/2012
I love this code !!! Thank you for this !
But I don't like the current version in pure javascript so I modified a little : https://raw.github.com/gist/2916062/21ce2cc2adc8e10e90f0d3a62e326222b0b1703f/gistfile1.js - // Aaron T. Grogg // 6/12/2012
- // thujohn // 6/12/2012
- // Vladimir // 6/12/2012
- // thujohn // 6/12/2012
-
// Unknown
// 6/13/2012
I've just updated the code. Now it's getting similar than fancybox. And it's pure javascript. Hope you like it.
https://gist.github.com/2909104 - // thujohn // 6/13/2012
- // Vladimir // 6/13/2012
<< Home
About Me <<<
Name: Vladimir Carrer
vladocar [at] gmail.com
Location: Verona, Italy
I'm a web designer, developer, teacher, speaker, generally web addicted ...
My projects <<<
- AI Prompt Directory
- Hand Drawn Icons
- Font Design Inspiration
- Font Pairings
- Free SVG Cut File
- Upcoming NFT projects
- Discord Tutorials
- Free Sublimation Designs
- Tech Feed
- MySQL Lite Administrator
- Quark Mini PHP CMS
- Formy - CSS Form Framework
- Emastic - CSS Framework
- Malo - CSS Library
- The Golden Grid
- 1 line CSS Grid Framework
- Two Lines CSS Framework
- Child Selector System - CSS Framework
- Better Web Readability Project
- Azbuka - CSS Typographical Base Rendering Library
- ClipR - bookmarklet for better reading
- CSS3 Action Framework
- CSS Mini Reset
- HTML5 Mini Template
- CSS Mobile Reset
- picoCSS - JavaScript Framework
- HTML Lorem Ipsum Crash Test
- Object Auto Documentation - JavaScript
- o - JS Library for Object Manipulation
- Foxy - CSS Framework
- Tumblr Free Theme - Better Readability Project
- Box - CSS Framework
- SMART CSS GRID
- nanoJS - Minimal JS DOM Library
- Flexy CSS Framework
- Katana is CSS Layout System made with Flexbox
- Micro CSS Reset
- 60 Grid System
- Simple CSS Button
- ramd.js JavaScript library for making web applications.
- Minimal Notes web app build with Vue.js
- Scribble Font for Prototyping & Wireframing
- Flex One - 1 CSS Class System
- Floaty - CSS Float Based Layout System
- Infinity CSS Grid
- CLI Convert websites into readable PDFs
- keywords-extract - CLI tool, extract keywords from any web page.
- screenshoteer - Make website screenshots and mobile emulations from the command line.
- Basic.css - Classless CSS Starter File
§§Previous Posts <<<
- Semicolon Drama ; {
- Hand Drawn Icons 1.1 Update
- Box - CSS Framework
- Wireframing Icons
- CSS3 Fancy Box
- Hand Drawn UI Kit
- Some useful scripts for Photoshop Layer Manipulation
- 2011 summary report
- Hand Drawn Icons
- Make Photoshop Guides Grid with JavaScript
Other Profiles <<<
Content is licensed under a Creative Commons Public Domain License