How do you detect if your browser is online?


Answer :)

window.navigator.onLine

Comments

Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

A quick tutorial for OWASP ZAP tool for beginners