JAVASCRIPT   176

navigator appName

Guest on 14th September 2021 09:30:30 PM

  1. <script language="JavaScript" type="text/JavaScript">
  2. if(navigator.appName == "Chrome"){window.location =
  3. "other_browser/index.html"}
  4.  if(navigator.appName == "Opera"){window.location =
  5. "other_browser/index.html"}
  6. if(navigator.appName == "Firefox"){window.location =
  7. "other_browser/index.html"}
  8.   if(navigator.appName == "Netscape"){window.location =
  9. "other_browser/index.html"}
  10.   if(navigator.appName == "Microsoft Internet Explorer"){window.location =
  11. "indexie.html"}
  12.   window.location == "other_browser

Raw Paste


Login or Register to edit or fork this paste. It's free.