From 3e1b0755347db8ee66c0b450282691da9ac3b5e3 Mon Sep 17 00:00:00 2001 From: Omar Najjar Date: Sat, 6 Jul 2024 21:47:07 +1000 Subject: [PATCH] x with bypass validation --- index.html | 71 +++++++++++++++++++++++++++++++++++------------ manifest.json | 21 ++++++++++++++ service-worker.js | 22 +++++++++++++++ 3 files changed, 96 insertions(+), 18 deletions(-) create mode 100644 manifest.json create mode 100644 service-worker.js diff --git a/index.html b/index.html index 3fa8f24..1bd7874 100644 --- a/index.html +++ b/index.html @@ -173,22 +173,6 @@ border-color: var(--off-neon); } 95.51% { - box-shadow: var(--neon-shadow); - border-color: var(--primary-neon); - } - 96% { - box-shadow: var(--neon-shadow); - border-color: var(--primary-neon); - } - 96.01% { - box-shadow: none; - border-color: var(--off-neon); - } - 96.5% { - box-shadow: none; - border-color: var(--off-neon); - } - 96.51% { box-shadow: var(--neon-shadow-bright); border-color: var(--primary-neon); } @@ -279,6 +263,10 @@

Instinct

+ +
@@ -323,7 +311,7 @@
diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..5e0de2c --- /dev/null +++ b/manifest.json @@ -0,0 +1,21 @@ +{ + "name": "Instinct App", + "short_name": "Instinct", + "start_url": "/", + "display": "standalone", + "background_color": "#000000", + "theme_color": "#000000", + "description": "An instinct-driven app", + "icons": [ + { + "src": "icon.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icon.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} diff --git a/service-worker.js b/service-worker.js new file mode 100644 index 0000000..6fe304f --- /dev/null +++ b/service-worker.js @@ -0,0 +1,22 @@ +self.addEventListener('install', (event) => { + event.waitUntil( + caches.open('instinct-app-cache').then((cache) => { + return cache.addAll([ + '/', + '/index.html', + '/styles.css', + '/script.js', + '/icon.png', + '/manifest.json', + ]); + }) + ); +}); + +self.addEventListener('fetch', (event) => { + event.respondWith( + caches.match(event.request).then((response) => { + return response || fetch(event.request); + }) + ); +});