tools/qrcode/en.html
2024-10-10 10:54:25 +08:00

239 lines
34 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<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.gh.ink/assembly/bootstrap/4.6.1/css/bootstrap.min.css" rel="stylesheet">
<!-- Favicon -->
<link rel="icon" href="https://2-cdn.ianxia.com/images/avatar/common.png" type="image/png">
<script src="https://cdn.gh.ink/js/vue/2.6.14/vue.min.js"></script>
<script src="https://cdn.gh.ink/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.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.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+VemSAAAAAXNSR0IArs4c6QAAF41JREFUeF7tne1a29wSQ8v9X3TPE8h5CaXJWs7IOzZV/+750GgkbwcKvP369ev3rx/+7/fvHz/i+wbf3t7GmySuEj0IJGGg/BQXps+rYy4b//HqTgji1Ysy/RPmIq4SPWgWwkD5NbBh6EQxCUGcYdyEuYirRA/ikjBQfg1sGDpRTEIQZxg3YS7iKtGDuCQMlF8DG4ZOFJMQxBnGTZiLuEr0IC4JA+XXwIahE8UkBHGGcRPmIq4SPYhLwkD5NbBh6EQxCUGcYdyEuYirRA/ikjBQ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NvqkGoVE9amCi8eOclmHIdp2ejyKMNbDnlrg0+6YahEb1qIGJxhrYMeR42lJrEmvEP/k4YurXwJMN3uQasqkVLSPRgzDQOWHsDUwM9hXaM7QwMmEuMkeix5QSwlgDe4aJS7NvqkFoVI++QhON7tXQkO06PR9lBLM3ToPh+Ql95nROmsPUpxo0jepRAxONNbBjyPG0pdYk1oi/n4EnDC/MnS7zApWepokeU0oIY1+hPcPEpdk31SA0psf/ABYPh4v0oDVBAAAAAElFTkSuQmCC" 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+VemSAAAAAXNSR0IArs4c6QAAF41JREFUeF7tne1a29wSQ8v9X3TPE8h5CaXJWs7IOzZV/+750GgkbwcKvP369ev3rx/+7/fvHz/i+wbf3t7GmySuEj0IJGGg/BQXps+rYy4b//HqTgji1Ysy/RPmIq4SPWgWwkD5NbBh6EQxCUGcYdyEuYirRA/ikjBQfg1sGDpRTEIQZxg3YS7iKtGDuCQMlF8DG4ZOFJMQxBnGTZiLuEr0IC4JA+XXwIahE8UkBHGGcRPmIq4SPYhLwkD5NbBh6EQxCUGcYdyEuYirRA/ikjBQfg1sGDpRTEIQZxg3YS7iKtGDuCQMlF8D3zCUINMQPokhUZkZEjUmMxjRmTmmGKb5xOOlPs1BNSj/X+ISvw9syJoufZr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OWHsDUwM9hXaM7QwMmEuMkeix5QSwlgDe4aJS7NvqkFoVI++QhON7tXQkO06PR9lBLM3ToPh+Ql95nROmsPUpxo0jepRAxONNbBjyPG0pdYk1oi/n4EnDC/MnS7zApWepokeU0oIY1+hPcPEpdk31SA0psf/ABYPh4v0oDVBAAAAAElFTkSuQmCC" 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+VemSAAAAAXNSR0IArs4c6QAAF41JREFUeF7tne1a29wSQ8v9X3TPE8h5CaXJWs7IOzZV/+750GgkbwcKvP369ev3rx/+7/fvHz/i+wbf3t7GmySuEj0IJGGg/BQXps+rYy4b//HqTgji1Ysy/RPmIq4SPWgWwkD5NbBh6EQxCUGcYdyEuYirRA/ikjBQfg1sGDpRTEIQZxg3YS7iKtGDuCQMlF8DG4ZOFJMQxBnGTZiLuEr0IC4JA+XXwIahE8UkBHGGcRPmIq4SPYhLwkD5NbBh6EQxCUGcYdyEuYirRA/ikjBQfg1sGDpRTEIQZxg3YS7iKtGDuCQMlF8D3zCUINMQPokhUZkZEjUmMxjRmTmmGKb5xOOlPs1BNSj/X+ISvw9syJoufZr/UxaemGPK5TSfZqiBPcOGyxr4yieRteJBdgQMXl5/j6QZamDPsOGyBq6BvaJEpBEdPQypBuX3Fbqfgb9J1YhG6PthSEK4UwzTfJqhN7Bn2HDZG7g3sFeUiDSio4ch1aD83sC9gXsDC7P+LYTM1xvYE2u47A3cG9grSkQa0dENSjU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TkSuQmCC" 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.gh.ink/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.gh.ink/js/popper/1.16.1/popper.min.js"></script>
<script src="https://cdn.gh.ink/assembly/bootstrap/4.6.1/js/bootstrap.min.js"></script>
</body>
</html>