Timeline for Detect if the internet connection is offline?
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 29, 2020 at 14:32 | comment | added | Marinos An |
"One option is to set up a server-side proxy, wherein we actually ping google (or whatever site), and return the results of the ping to the app" . It should not be stated as a possible solution to examine. Even If I had a connection to my server I want to check whether, I , can access google, not my server.
|
|
S Jan 9, 2019 at 12:58 | history | suggested | Prakash Pazhanisamy | CC BY-SA 4.0 |
fixed grammar
|
Jan 9, 2019 at 11:07 | review | Suggested edits | |||
S Jan 9, 2019 at 12:58 | |||||
Jun 26, 2015 at 0:14 | comment | added | Stijn de Witt |
Reliability issues aside (all solutions suffer from that issue), navigator.onLine is definitely the best one now that it's cross-browser.
|
|
Nov 13, 2014 at 10:09 | review | Suggested edits | |||
Nov 13, 2014 at 10:48 | |||||
Oct 27, 2013 at 22:31 | comment | added | Adam | You may want to check out Offline.js, an open-source library built for just this purpose. | |
Sep 11, 2012 at 14:06 | comment | added | Efran Cobisi | navigator.online/offline is unreliable as well, for the very same reasons. See stackoverflow.com/questions/3181080/… | |
Apr 23, 2012 at 9:13 | comment | added | João Pinto Jerónimo | Now in 2012 you can check the variable navigator.onLine ;) | |
Aug 4, 2011 at 6:19 | history | edited | keparo | CC BY-SA 3.0 |
deleted 29 characters in body
|
Oct 17, 2008 at 10:56 | vote | accept | Daniel Silveira | ||
Dec 10, 2023 at 10:38 | |||||
Oct 10, 2008 at 15:13 | history | edited | keparo | CC BY-SA 2.5 |
added 59 characters in body
|
Oct 9, 2008 at 22:52 | history | edited | keparo | CC BY-SA 2.5 |
added 134 characters in body
|
Oct 9, 2008 at 22:46 | history | edited | keparo | CC BY-SA 2.5 |
added 1159 characters in body
|
Oct 9, 2008 at 22:37 | history | edited | keparo | CC BY-SA 2.5 |
added 434 characters in body
|
Oct 9, 2008 at 22:28 | history | answered | keparo | CC BY-SA 2.5 |