<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name=viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi"/>
    <title>Intent Test</title>
</head>
<body>
    <h1>Intent Test</h1>
    <p id="content"></p>
    <script type="text/javascript" src="cordova.js"></script>
    <script type="text/javascript" src="webintent.js"></script>
    <script type="text/javascript">
        document.addEventListener('deviceready', function(){
            var content = document.getElementById("content");
            if(windows.plugins.intent !== undefined) {
                content.innerHTML = "Has plugin!";
            } else {
                content.innerHTML = "No plugin!";
            }
        });
    </script>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name=viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi"/>
    <title>Intent Test</title>
</head>
<body>
    <h1>Intent Test</h1>
    <p id="content"></p>
    <script type="text/javascript" src="cordova.js"></script>
    <script type="text/javascript" src="webintent.js"></script>
    <script type="text/javascript">
        function start() {
            var content = document.getElementById("content");
            if(window.plugins !== undefined && window.plugins.intent !== undefined) {
                content.innerHTML = "Has plugin!";
            } else {
                content.innerHTML = "No plugin!";
            }
        }
        document.addEventListener('deviceready', start);
        document.addEventListener('DOMContentLoaded', start);
    </script>
</body>
</html>

Fix the plugin check script
Fix the plugin check script
