Get started with outdated-browser CDN

MIT licensed

Library detects, alerts users on outdated browsers for compatibility.

Tags:
  • outdated
  • browser

Stable version

Copied!

How to start using outdated-browser CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with outdated-browser CDN - cdnhub.io</title>
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
    <script src="https://cdn.cdnhub.io/outdated-browser/1.1.5/outdatedbrowser.min.js"></script>
    <script>
        $(document).ready(function() {
            OutdatedBrowser.check(function(result) {
                if (result.outdated) {
                    alert('Your browser is outdated. Please update it for better experience.');
                } else {
                    alert('Your browser is up-to-date.');
                }
            });
        });
    </script>
</head>
<body>
    <p>Checking your browser...</p>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions