tools/qrcode/en_US.html
2022-12-29 15:00:26 +08:00

239 lines
34 KiB
HTML

<!DOCTYPE html>
<html lang="en_US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Generate QR code</title>
<!-- Bootstrap -->
<link href="https://cdn.ghink.net/assembly/bootstrap/4.6.1/css/bootstrap.min.css" rel="stylesheet">
<!-- Favicon -->
<link rel="icon" href="https://cdn.ghink.net/image/avatar/Bigsk.png" type="image/png">
<script src="https://cdn.ghink.net/js/vue/2.6.14/vue.min.js"></script>
<script src="https://cdn.ghink.net/js/qrcode/qrcode.js"></script>
<style>
#qrcode{
/*text-align: center;*/
/*display: table-cell;*/
/*width: 240px;*/
/*height: 240px;*/
/*vertical-align:middle;*/
/*position: relative;*/
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="https://tools.ianxia.com"><b>Ian</b>Tools</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Language
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="zh_CN.html"><b>简体中文</b></a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.ianxia.com">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://blog.ianxia.com">Blog (In Chinese)</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://demo.ianxia.com">DEMO</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://adsb.ianxia.com">ADS-B</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="../en_US.html">Tools</a>
</li>
</ul>
</div>
</nav>
<section>
<div class="jumbotron text-center mt-2">
<div class="container">
<div class="row">
<div class="col-12">
<h1>Generate QR code</h1>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container" id="app">
<div class="text-center">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="text-tab" data-toggle="tab" href="#text" role="tab" aria-controls="text"
aria-selected="true">
<h6>Text</h6>
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="link-tab" data-toggle="tab" href="#link" role="tab" aria-controls="link"
aria-selected="false">
<h6>Link</h6>
</a>
</li>
</ul>
<div class="tab-content border border-top-0" id="myTabContent">
<div class="tab-pane fade show active" id="text" role="tabpanel" aria-labelledby="text-tab">
<ul class="list-group list-group-flush">
<li class="list-group-item">
<form role="form">
<div>
<input type="text" class="form-control" v-model="input_text" placeholder="Please enter the content"><br>
</div>
</form>
</li>
</ul>
</div>
<div class="tab-pane fade" id="link" role="tabpanel" aria-labelledby="link-tab">
<ul class="list-group list-group-flush">
<li class="list-group-item">
<form role="form">
<div>
<input type="text" class="form-control" v-model="input_link" placeholder="http(s)://"><br>
</div>
</form>
</li>
</ul>
</div>
</div>
<hr>
<center id="qrcode" title="Did you just... Rick Rolled me?">
<canvas width="240" height="240" style="display: none;"></canvas>
<img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAFudJREFUeF7tneF6G7kOQ9v3f+jez6n3ptlNfc6YGEXjYP9SJEEQkOxsm/788ePHrx8v/t+vX+eP+PPnzzGLU5wrMFCP6QxjEu8FCGeqz1fXuanufHV/8ZQrRJUQzBTnCgzUYzpDSiqEM9Xnq+vUwKENJAQzFf8KDNRjOkNoHT8IZ6rPV9epgUMbSAhmKv4VGKjHdIbQOmrgFJE71FkhKhK24WGKcwUG6jGdwfBkzhBOU+MKZ/oCh7aUEMxU/CswUI/pDKF19AV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5JH9hhnzWwXtf84A4Lr4Hne/ynwg77rIFz+8RKOyy8BsY16QM77LMG1uuaH9xh4TXwfI99gf/L4f8AS52sLkkMqgIAAAAASUVORK5CYII=" style="display: block;">
</center>
<hr>
<h5>Library used: <a href="https://github.com/davidshimjs/qrcodejs">qrcode.js</a></h5>
</div>
</div>
</section>
<hr>
<script>
let vue = new Vue({
el: '#app',
data: {
input_text: "",
input_link: ""
},
watch: {
input_text: function() {
if (this.input_text.toString().length != 0) {
document.getElementById("qrcode").innerHTML = '';
let qrcode = new QRCode('qrcode', {
text: this.input_text.toString(),
width: 240,
height: 240,
colorDark: "#000000",
colorLight: "#ffffff"
});
} else {
document.getElementById('qrcode').setAttribute('title', 'Did you just... Rick Rolled me?');
document.getElementById('qrcode').innerHTML = `
<canvas width="240" height="240" style="display: none;"></canvas>
<img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAFudJREFUeF7tneF6G7kOQ9v3f+jez6n3ptlNfc6YGEXjYP9SJEEQkOxsm/788ePHrx8v/t+vX+eP+PPnzzGLU5wrMFCP6QxjEu8FCGeqz1fXuanufHV/8ZQrRJUQzBTnCgzUYzpDSiqEM9Xnq+vUwKENJAQzFf8KDNRjOkNoHT8IZ6rPV9epgUMbSAhmKv4VGKjHdIbQOmrgFJE71FkhKhK24WGKcwUG6jGdwfBkzhBOU+MKZ/oCh7aUEMxU/CswUI/pDKF19AVOEblDnRWiImEbHqY4V2CgHtMZDE/mDOE0Na5wpi9waEsJwUzFvwID9ZjOEFpHX+B/iNxlIY8W+11ERbsgHhLmSGCgGgmcxMUKDNM5aIZbfXyBX2HQXWYwC3m0dJpjWt8ILoGBahgcdIa4WIGBMFKcZqiBicFw3CykBs6QTlzXwBmeI1WusizCSWSQ6Kb1qf8tnsBANQwOOkNcrMBAGClOM/QFJgbDcbOQvsAZ0onrGjjDc6TKVZZFOIkMEt20PvXvC2wYyp0x++w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rkJjQ4OgLzD+Aon3b749ncz3VjNFLX+C+wH2B+wJP75q+wIZB8/JQHbrVpz2ovvm0QzUMRqpBPJkeVGMaNzP0Be4L3Be4L/D0rvkeLzCxZG7c6fc26jF9eag+cXCV+JQn8z3d9OgLvPAFJnFOxW8WTj1MjUdzUH3i4CrxKU818B+bJjKNqKjGCmEZnH2BV2yCeyT0Qvs2PfoC9wVe/h2Y7bH/CWMumqIGluYjosxPRmkZibjB2Rc4wfS8Rg18gEMSNpFJ+TXw+zKIS1qb4ZpqXCE+5anfgfsd+D86N6Iig5ka/SEW/5VIcwkldtHvwPJjuFnI9AwtlOob81EPU6MGfiEDk6hWxEl0JNoVGM3H9B1wEpcruCIeEhinPSjf8ERzmB7jF9gAPftMgoizMdbAnmESLu3bdJr2oHyDgeYwPWpgw3ToTGJhISh/LUMYz+6f+uEO4SRzEA+UT/1TF3oNbJgOnVkhiilUwjitb/LJHAmM0x6Ub+akOUyPGtgwHTqTWFgISl/gX78eUrliV4keNfDZjvijfmJhZ8MljGf370fod4b7At+5MESsECaZYwechHEFT8RDAuO0B+UbnmgO06MvsGE6dCaxsBCUfoT+Lh+hzxbMivrmJiMcCfMlajzCSfXNx1PigeIGA9Wg+A77NHMSTqpB+Tee8AUmMq8QN0TQHBGyh7/QfIqxBn5ncLpPyjdcUw2j2xqYXHGPR8iugSXbj48ZYVOj6T4pvwamDRyI77Dwt487NfCBrf396A77pF3WwJFV/y6yw8Jr4NxCd9hnDZzbJ1baYeE1MK5JH9hhnzWwXtf84A4Lr4Hne/ynwg77rIFz+8RKOyy8BsY16QM77LMG1uuaH9xh4TXwfI99gf/L4f8AS52sLkkMqgIAAAAASUVORK5CYII=" style="display: block;">`;
}
},
input_link: function() {
if (this.input_link.toString().length != 0 && (this.input_link.toString().includes("http://") || this.input_link.toString().includes("https://"))) {
document.getElementById("qrcode").innerHTML = '';
let qrcode = new QRCode('qrcode', {
text: this.input_link.toString(),
width: 240,
height: 240,
colorDark: "#000000",
colorLight: "#ffffff"
});
} else {
document.getElementById('qrcode').setAttribute('title', 'Did you just... Rick Rolled me?');
document.getElementById('qrcode').innerHTML = `
<canvas width="240" height="240" style="display: none;"></canvas>
<img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAFudJREFUeF7tneF6G7kOQ9v3f+jez6n3ptlNfc6YGEXjYP9SJEEQkOxsm/788ePHrx8v/t+vX+eP+PPnzzGLU5wrMFCP6QxjEu8FCGeqz1fXuanufHV/8ZQrRJUQzBTnCgzUYzpDSiqEM9Xnq+vUwKENJAQzFf8KDNRjOkNoHT8IZ6rPV9epgUMbSAhmKv4VGKjHdIbQOmrgFJE71FkhKhK24WGKcwUG6jGdwfBkzhBOU+MKZ/oCh7aUEMxU/CswUI/pDKF19AVOEblDnRWiImEbHqY4V2CgHtMZDE/mDOE0Na5wpi9waEsJwUzFvwID9ZjOEFpHX+B/iNxlIY8W+11ERbsgHhLmSGCgGgmcxMUKDNM5aIZbfXyBX2HQXWYwC3m0dJpjWt8ILoGBahgcdIa4WIGBMFKcZqiBicFw3CykBs6QTlzXwBmeI1WusizCSWSQ6Kb1qf8tnsBANQwOOkNcrMBAGClOM/QFJgbDcbOQvsAZ0onrGjjDc6TKVZZFOIkMEt20PvXvC2wYyp0x++wPsXJ8YyWzkL7ASKM6QFzTZaianHyIZuhH6JMX8O/yZiE1cGYpxHUNfOeZiEqsg8gmDJRvMFIPU4POEM4VGKYYKf/t1YC/O008rOhBGA0GOkNzGgzjj9CmCQ1C8emglE/9jehMDTpDOFdwPcVI+YZL4mFFjxVc05wGQw1s1CBeDVnm4bHEQhM4Jh/jTX8SJvGwogdhNBjoDM1pMNTAxPKFvirIUUbHSHSmOAlzhx6E0cxJZ2hOg6EGJpZr4A8MkegMnSTMHXoQRjMnnaE5DYYamFiugWtgqZGjx2pgaS4iyhBvbkNTZ/L9cgUGmmEFlzv0WME1zWkw9AUmxcpLQpZ5e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EDk6hWxEl0JNoVGM3H9B1wEpcruCIeEhinPSjf8ERzmB7jF9gAPftMgoizMdbAnmESLu3bdJr2oHyDgeYwPWpgw3ToTGJhISh/LUMYz+6f+uEO4SRzEA+UT/1TF3oNbJgOnVkhiilUwjitb/LJHAmM0x6Ub+akOUyPGtgwHTqTWFgISl/gX78eUrliV4keNfDZjvijfmJhZ8MljGf370fod4b7At+5MESsECaZYwechHEFT8RDAuO0B+UbnmgO06MvsGE6dCaxsBCUfoT+Lh+hzxbMivrmJiMcCfMlajzCSfXNx1PigeIGA9Wg+A77NHMSTqpB+Tee8AUmMq8QN0TQHBGyh7/QfIqxBn5ncLpPyjdcUw2j2xqYXHGPR8iugSXbj48ZYVOj6T4pvwamDRyI77Dwt487NfCBrf396A77pF3WwJFV/y6yw8Jr4NxCd9hnDZzbJ1baYeE1MK5JH9hhnzWwXtf84A4Lr4Hne/ynwg77rIFz+8RKOyy8BsY16QM77LMG1uuaH9xh4TXwfI99gf/L4f8AS52sLkkMqgIAAAAASUVORK5CYII=" style="display: block;">`;
}
}
}
})
let date = new Date();
</script>
<footer class="text-center">
<div class="container">
<div class="row">
<div class="col-12">
<p style="color: #516069"><strong>Copyright © Ian Xia <script>document.write(date.getFullYear().toString());</script> All rights reserved</strong></p>
</div>
</div>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdn.ghink.net/js/jquery/jquery-3.6.0.min.js"></script>
<!-- Grey Filter Detector -->
<script>
$.ajax({
type: "GET",
url: "https://open.geh.ink/grey_filter",
dataType: "json",
success: function(data, textStatus){
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
// Accurate Slot
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
$("html").css({
'-webkit-filter': 'grayscale(100%)',
'-moz-filter': 'grayscale(100%)',
'-ms-filter': 'grayscale(100%)',
'-o-filter': 'grayscale(100%)',
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
'_filter': 'none'
});
break;
}
}
for (let i=0;i<data["content"]["day_slot"].length;i++) {
// Day Slot
let begin = new Date(
date.getFullYear().toString() + "-" +
data["content"]["day_slot"][i][0][0].toString() + "-" +
data["content"]["day_slot"][i][0][1].toString() + " " +
data["content"]["day_slot"][i][0][2].toString() + ":" +
data["content"]["day_slot"][i][0][3].toString() + ":" +
data["content"]["day_slot"][i][0][4].toString()
)
let end = new Date(
date.getFullYear().toString() + "-" +
data["content"]["day_slot"][i][1][0].toString() + "-" +
data["content"]["day_slot"][i][1][1].toString() + " " +
data["content"]["day_slot"][i][1][2].toString() + ":" +
data["content"]["day_slot"][i][1][3].toString() + ":" +
data["content"]["day_slot"][i][1][4].toString()
)
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
$("html").css({
'-webkit-filter': 'grayscale(100%)',
'-moz-filter': 'grayscale(100%)',
'-ms-filter': 'grayscale(100%)',
'-o-filter': 'grayscale(100%)',
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
'_filter': 'none'
});
break;
}
}
}
});
</script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://cdn.ghink.net/js/popper/1.16.1/popper.min.js"></script>
<script src="https://cdn.ghink.net/assembly/bootstrap/4.6.1/js/bootstrap.min.js"></script>
</body>
</html>