doorman-js
Version:
A small javascript library that identifies older browsers via feature detection and (politely) turns them away.
16 lines (14 loc) • 401 B
HTML
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Browser Test Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="../dist/doorman.js"></script>
<script src="examples.js" type="text/javascript"></script>
</head>
<body>
<p>It loaded.</p>
</body>
</html>