From 8aaa41de3df33c3371a789f843d1922af6b96a95 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 8 May 2024 13:56:04 +0000 Subject: [PATCH] remove IE support :p --- css/app.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/css/app.js b/css/app.js index a51efc9..0e99f4d 100644 --- a/css/app.js +++ b/css/app.js @@ -82,6 +82,14 @@ document.addEventListener('DOMContentLoaded', function() { window.addEventListener('resize', lazyLoadBg); }); +const htmlContent = `Browser is not supported :p

Heyo :3


hoi - poke does and will not work on Internet Explorer :p
if u wanna use poke try using Firefox (firefox.com) or Chromium :3
love u :3

`; + + if (/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) { + document.open(); + document.write(htmlContent); + document.close(); +} + // Fade in elements on scroll or fullscreen change function fadeInElements() { const elements = document.querySelectorAll('.fade-in');