silly @silly

People who know how to code:

Make something so if someone visits the page in ie it redirects them to the Firefox/chrome download page

Jun 15, 2022, 5:14 PM
14

comments

I’m going to do this:

Load page in Chrome → Redirect to Firefox

Load page in Firefox → Redirect to Opera

Load page in Opera → Redirect to Safari

Load page in Safari → Redirect to IE

Load page in IE → Redirect to Chrome

But it’s 3 am so ask me tomorrow

And the only way to access it is opera GX

Opera GX is different from Opera? In that case,

Opera → Opera GX

Opera GX → Safari

the only way to access is Nintendo switch browser

Every browser not listed will lead to a rickroll

Actually I think I’ll just do Opera, no Opera GX

Oh wait I forgot about edge

Safari → Edge

Edge → IE

if (window.document.documentMode) {
  window.location.href = `https://www.google.com/chrome/downloads/`
}

firefox

if (window.document.documentMode) {
  window.location.href = `https://www.mozilla.org/en-US/firefox/` 
}

I might be dumb but this code doesn’t mention IE

it doesn’t need to — window.document.documentMode returns undefined in all browsers except ie 11

I actually found it on stack overflow :P