Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

no internet connection html page

if (navigator.onLine) {
  console.log("You are online");
} else {
  console.log("You are offline");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #internet #connection #html #page
ADD COMMENT
Topic
Name
6+2 =