Phonegap HTML app and various alerts hang browser

If you’re testing your app in your desktop browser, you can simply exclude the file.
For Chrome:

<script type="text/javascript">
    if (!navigator.userAgent.toLowerCase().match('chrome')) {
        document.write("<script src="https://stackoverflow.com/questions/16920596/phonegap.js"><\/script>");
    }
</script>

(This way you don’t have to remember to uncomment the script link for your build process.)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)