Skip to content

Commit

Permalink
feat: add unsupported hint for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
Iori Ichinose committed Jan 11, 2023
1 parent d251937 commit 393ab6e
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NJU Mirror</title>
</head>

<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NJU Mirror</title>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>

</html>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script>
if (window.ActiveXObject || 'ActiveXObject' in window) {
document.getElementById('app').innerHTML =
'Internet Explorer is no longer supported. Please use modern browsers such as Chrome, Firefox, Edge, etc.';
}
</script>
</body>
</html>

0 comments on commit 393ab6e

Please sign in to comment.