UNPKG

browser-dead

Version:

Identify old and unsupported browsers simple easy way

26 lines (25 loc) 853 B
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>borderSpacing (<=IE7) - Browser Dead Example</title> <link rel="stylesheet" href="../dist/css/browser-dead.min.css" media="screen" title=""> </head> <body> <div id="browser-dead" class="browser-dead"> <div class="title">Unsupported Browser</div> <p>Please update your browser to access our platform</p> </div> <div> This is an example of using browser-dead to detect browsers <=IE8 which do not support border spacing. If you see this, the browser you're usiing supports border spacing. </div> <script type="text/javascript" src="../dist/browser-dead.min.js"> </script> <script type="text/javascript"> browserDead({ supportBreakpoint: 'borderSpacing' // ie11 vs edge }) </script> </body> </html>