diff --git a/css/app.js b/css/app.js index a51efc90..0e99f4d8 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');