diff options
author | Sébastien SAUVAGE <sebsauvage@sebsauvage.net> | 2013-09-25 15:17:09 +0200 |
---|---|---|
committer | Sébastien SAUVAGE <sebsauvage@sebsauvage.net> | 2013-09-25 15:17:09 +0200 |
commit | af77b2fd9a574ba03b309ea0799946fabf37c7d1 (patch) | |
tree | 58eed9da11f75d1a4dc79799ca34a7aba7e83ef9 /images | |
parent | 26c9556894bfcc1091dcd4dbff37c56a76a426d7 (diff) | |
download | Shaarli-af77b2fd9a574ba03b309ea0799946fabf37c7d1.tar.gz Shaarli-af77b2fd9a574ba03b309ea0799946fabf37c7d1.tar.zst Shaarli-af77b2fd9a574ba03b309ea0799946fabf37c7d1.zip |
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.
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions