Update index.html
Browse files- index.html +18 -15
index.html
CHANGED
|
@@ -11,6 +11,9 @@
|
|
| 11 |
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
| 12 |
<link rel="icon" type="image/png" sizes="192x192" href="/icon.png">
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
<style>
|
| 15 |
/* Общие стили */
|
| 16 |
body {
|
|
@@ -183,20 +186,20 @@
|
|
| 183 |
deferredPrompt = null;
|
| 184 |
installButton.style.display = 'none';
|
| 185 |
installButton.classList.remove('pulse-animation'); // Удаляем класс после установки
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
</body>
|
| 202 |
</html>
|
|
|
|
| 11 |
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
| 12 |
<link rel="icon" type="image/png" sizes="192x192" href="/icon.png">
|
| 13 |
|
| 14 |
+
<!-- Добавленный мета тег для проверки Google -->
|
| 15 |
+
<meta name="google-site-verification" content="V6EqDTA9Oj9V1OfNbnBHj5RKrdcXlABD8tqfEFVUHJY" />
|
| 16 |
+
|
| 17 |
<style>
|
| 18 |
/* Общие стили */
|
| 19 |
body {
|
|
|
|
| 186 |
deferredPrompt = null;
|
| 187 |
installButton.style.display = 'none';
|
| 188 |
installButton.classList.remove('pulse-animation'); // Удаляем класс после установки
|
| 189 |
+
});
|
| 190 |
+
});
|
| 191 |
+
|
| 192 |
+
if ('serviceWorker' in navigator) {
|
| 193 |
+
window.addEventListener('load', () => {
|
| 194 |
+
navigator.serviceWorker.register('/service-worker.js')
|
| 195 |
+
.then((registration) => {
|
| 196 |
+
console.log('Service Worker registered:', registration);
|
| 197 |
+
})
|
| 198 |
+
.catch((error) => {
|
| 199 |
+
console.log('Service Worker registration failed:', error);
|
| 200 |
+
});
|
| 201 |
+
});
|
| 202 |
+
}
|
| 203 |
+
</script>
|
| 204 |
</body>
|
| 205 |
</html>
|