]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
New QR-Code generation code
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Wed, 25 Sep 2013 13:17:09 +0000 (15:17 +0200)
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Wed, 25 Sep 2013 13:17:09 +0000 (15:17 +0200)
commitaf77b2fd9a574ba03b309ea0799946fabf37c7d1
tree58eed9da11f75d1a4dc79799ca34a7aba7e83ef9
parent26c9556894bfcc1091dcd4dbff37c56a76a426d7
New QR-Code generation code

* QR-Code generation now uses a client-side javascript library instead of an external service. This is better for user privacy.
* Library used is http://neocotic.com/qr.js/ (11 kb).
* jQuery is no longer used to display QR-Code (this is a first step in removing jQuery entirely).
* This library is loaded *only* if the QR-Code icon is clicked.
* If javascript is disabled, it will fallback to the external service.
* External service was changed from "invx.com" to "qrfree.kaywa.com" because invx has become bloated.

By loading the javascript library *only* if the icon is clicked, it will prevent the 11 kb lib to be loaded in every page.
tpl/linklist.html