Total Pageviews

Thursday 2 November 2017

Qrcode Gen(二维码生成器)

Generate Qrcode offline (Chrome Plugin) 
离线二维码生成,Generate Qrcode offline (Chrome Extension)

Changelogs

2015.02.09
  • 支持生成svg
  • 添加下载功能
  • 开启类型选择
  • 更新代码结构

Install & Usage

  • 将dist中得crx拖入chrome浏览器即可(请先在扩展程序中开启开发选项。)
  • 在要生成二维码的页面单击Qrcode-Gen的icon,默认生成当前页面的二维码。
  • 需要临时生成的地址或内容,请手动在text中输入要添加的内容,点击Generate

Thanks:

from https://github.com/MT-Libraries/MT-QrcodeGen
------------------------

qrcode generation standalone (doesn't depend on external services) 

jquery.qrcode.js

jquery.qrcode.js is jquery plugin for a pure browser qrcode generation. It allow you to easily add qrcode to your webpages. It is standalone, less than 4k after minify+gzip, no image download. It doesnt rely on external services which go on and off, or add latency while loading. It is based on a library which build qrcode in various language. jquery.qrcode.js wraps it to make it easy to include in your own code.
Show, don't tell, here is a example

How to Use It

Let me walk you thru it. First include it in your webpage with the usual script tag
<script type="text/javascript" src="jquery.qrcode.min.js"></script>
Then create a DOM element which gonna contains the generated qrcode image. Lets say a div
<div id="qrcode"></div>
Then you add the qrcode in this container by
jquery('#qrcode').qrcode("this plugin is great");
This is it. see it live.
You can set the height and width of the generated qrcode:
jquery('#qrcode').qrcode({width: 64,height: 64,text: "size doesn't matter"});

Conclusion

jquery.qrcode.js is available on github here under MIT license. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it :)

from https://github.com/jeromeetienne/jquery-qrcode
--------------

QRCode Web for ChromeExt

A Chrome plugins to Generate Qrcode for a website

Thanks:

Jquery
Thonatos/QRCode-Gen https://github.com/thonatos/Qrcode-Gen (This extension is edited from Thonatos's QRCode-Gen)

Edited part

This extension is edited from Thonatos's QRCode-Gen to meet my personal requirement
I did some change and get raid off the control panel part
Therefore, you can ONLY generate qrcode for current website.

from https://github.com/SharkIng/QRCode-Web-ChromeExt

No comments:

Post a Comment