Hacker News new | ask | show | jobs
by asteadman 3688 days ago
For quick desktop->mobile I banged out this bookmarklet to gen a qr code. Caveats: this was a quick hack and probably doesn't work on everything. super long urls could be a problem.

  javascript:(function(){if(document.getElementById){var x=document.body;var o=document.createElement('script');if(typeof(o)!='object') o=document.standardCreateElement('script');o.setAttribute('src','https://qrbookmarklet.googlecode.com/svn/trunk/qr.js');o.setAttribute('type','text/javascript');x.appendChild(o);}})();
1 comments

OOPS. looks like i did not create that one. It is straight from https://code.google.com/archive/p/qrbookmarklet/. I apologize. honest mistake. I've written similar bookmarklets in the past and assumed this one was one of mine.