Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
amelius
on Aug 23, 2017
|
parent
|
context
|
favorite
| on:
Disconnect. Offline only
Hmm, in Chromium developer tools, in the Network tab, I set throttling to "Offline", but nothing happened in the page.
ckuijjer
on Aug 23, 2017
|
next
[–]
It listens to the online and offline events (using
https://github.com/chrisbolin/react-detect-offline
which is really cool). You really have to turn off your network connection.
Or fire the event yourself using window.dispatchEvent(new Event('offline'))
timhigins
on Aug 23, 2017
|
prev
|
next
[–]
Worked for me in Chrome 60.0.3112.101
max23_
on Aug 23, 2017
|
prev
|
next
[–]
I am on Chrome 60.0.3112.101 too and it works.
branchless
on Aug 23, 2017
|
prev
|
next
[–]
Firefox 54 on linux, didn't work.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: