Versions
- Open: VersionChanges from v9 to v10+1-0⦚ 4 unchanged lines ⦚res.set("content-type", "image/gif;base64");res.send(base64Image);
}else {res.send(`<div>⦚ 13 unchanged lines ⦚⦚ 4 unchanged lines ⦚res.set("content-type", "image/gif;base64");res.send(base64Image);return req.query.data;}else {res.send(`<div>⦚ 13 unchanged lines ⦚ - Open: VersionChanges from v8 to v9+0-1⦚ 7 unchanged lines ⦚else {res.send(`<div>
<h1>QR Generator</h1><iframe src="/qr?data=https://stevekrouse-qr.express.val.run" width="100%" height="100%"/><input></input><script>⦚ 10 unchanged lines ⦚⦚ 7 unchanged lines ⦚else {res.send(`<div><iframe src="/qr?data=https://stevekrouse-qr.express.val.run" width="100%" height="100%"/><input></input><script>⦚ 10 unchanged lines ⦚ - Open: VersionChanges from v7 to v8+2-1⦚ 6 unchanged lines ⦚}else {
res.send(`<div>iframe myself forever!!!<iframe src="/qr?data=https://stevekrouse-qr.express.val.run" width="100%" height="100%"/><input></input>⦚ 11 unchanged lines ⦚⦚ 6 unchanged lines ⦚}else {res.send(`<div><h1>QR Generator</h1><iframe src="/qr?data=https://stevekrouse-qr.express.val.run" width="100%" height="100%"/><input></input>⦚ 11 unchanged lines ⦚ - Open: VersionChanges from v6 to v7+1-1⦚ 7 unchanged lines ⦚else {res.send(`<div>iframe myself forever!!!
<iframe src="/qr?data=${req.originalUrl}" width="100%" height="100%"/><input></input><script>⦚ 10 unchanged lines ⦚⦚ 7 unchanged lines ⦚else {res.send(`<div>iframe myself forever!!!<iframe src="/qr?data=https://stevekrouse-qr.express.val.run" width="100%" height="100%"/><input></input><script>⦚ 10 unchanged lines ⦚ - Open: VersionChanges from v5 to v6+1-1export async function qr(req: express.Request, res: express.Response) {
if (req.path.startsWith("qr")) {const { qrcode } = await import("https://deno.land/x/qrcode/mod.ts");const base64Image = await qrcode(req.query.data);⦚ 18 unchanged lines ⦚export async function qr(req: express.Request, res: express.Response) {if (req.path.startsWith("/qr")) {const { qrcode } = await import("https://deno.land/x/qrcode/mod.ts");const base64Image = await qrcode(req.query.data);⦚ 18 unchanged lines ⦚ - Open: VersionChanges from v4 to v5+1-1⦚ 6 unchanged lines ⦚}else {
res.send(`<div><iframe src="/qr?data=${req.originalUrl}" width="100%" height="100%"/><input></input>⦚ 11 unchanged lines ⦚⦚ 6 unchanged lines ⦚}else {res.send(`<div>iframe myself forever!!!<iframe src="/qr?data=${req.originalUrl}" width="100%" height="100%"/><input></input>⦚ 11 unchanged lines ⦚ - Open: VersionChanges from v3 to v4+1-1⦚ 7 unchanged lines ⦚else {res.send(`<div>
<iframe src="/qr?data=${req.originalUrl}" /><input></input><script>⦚ 10 unchanged lines ⦚⦚ 7 unchanged lines ⦚else {res.send(`<div><iframe src="/qr?data=${req.originalUrl}" width="100%" height="100%"/><input></input><script>⦚ 10 unchanged lines ⦚ - Open: VersionChanges from v2 to v3+6-2export async function qr(req: express.Request, res: express.Response) {if (req.path.startsWith("qr")) {const { qrcode } = await import("https://deno.land/x/qrcode/mod.ts");
const base64Image = await qrcode(res.query.data);res.set("content-type", "image/gif;base64");res.send(base64Image);⦚ 4 unchanged lines ⦚<input></input><script></script></div>`);⦚ 3 unchanged lines ⦚export async function qr(req: express.Request, res: express.Response) {if (req.path.startsWith("qr")) {const { qrcode } = await import("https://deno.land/x/qrcode/mod.ts");const base64Image = await qrcode(req.query.data);res.set("content-type", "image/gif;base64");res.send(base64Image);⦚ 4 unchanged lines ⦚<input></input><script>let iframe = document.getElementsByTagName("iframe")[0]let input = document.getElementsByTagName("input")[0]input.addEventListener('input', function(e){img.src="/qr?data=" + e.target.value})</script></div>`);⦚ 3 unchanged lines ⦚ - Open: Version+18-0export async function qr(req: express.Request, res: express.Response) {if (req.path.startsWith("qr")) {const { qrcode } = await import("https://deno.land/x/qrcode/mod.ts");const base64Image = await qrcode(res.query.data);res.set("content-type", "image/gif;base64");res.send(base64Image);}else {res.send(`<div><iframe src="/qr?data=${req.originalUrl}" /><input></input><script></script></div>`);}}// Forked from @ramkarthik.GenerateQR
Updated: October 23, 2023