Skip to content

Instantly share code, notes, and snippets.

@anekos
Created March 5, 2020 08:09
Show Gist options
  • Save anekos/08187f67816b45c9a4e379d80ce13a54 to your computer and use it in GitHub Desktop.
Save anekos/08187f67816b45c9a4e379d80ce13a54 to your computer and use it in GitHub Desktop.
Internet Explorer に対応する JavaScript
if (~window.navigator.userAgent.indexOf('Trident')) {
location.href = 'https://getfirefox.com';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment