From 2f72cf1a3a30b665619e7fcaa2657e225598554e Mon Sep 17 00:00:00 2001
From: flowstocktrading <tsm1258011@proton.me>
Date: Thu, 03 Nov 2022 18:22:54 +0800
Subject: [PATCH] 备份
---
index.html | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/index.html b/index.html
index f5170b4..a1dadc5 100644
--- a/index.html
+++ b/index.html
@@ -41,6 +41,34 @@
}
}
</script>
+ <script>
+ // // 禁用缩放
+ // function addMeta() {
+ // $('head').append('<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />');
+ // }
+ // setTimeout(addMeta, 3000);
+
+ // // 禁用双指放大
+ // document.documentElement.addEventListener('touchstart', function (event) {
+ // if (event.touches.length > 1) {
+ // event.preventDefault();
+ // }
+ // }, {
+ // passive: false
+ // });
+
+ // // 禁用双击放大
+ // var lastTouchEnd = 0;
+ // document.documentElement.addEventListener('touchend', function (event) {
+ // var now = Date.now();
+ // if (now - lastTouchEnd <= 300) {
+ // event.preventDefault();
+ // }
+ // lastTouchEnd = now;
+ // }, {
+ // passive: false
+ // });
+ </script>
</head>
<body style="height: 100%; position: absolute; width: 100%;">
<div id="app"></div>
--
Gitblit v1.9.3