News for hackers. Stuff that matters.
Re:Disconnect. Offline only by amelius on Wednesday August 23, 2017 @08:40AM (#15080994)
Hmm, in Chromium developer tools, in the Network tab, I set throttling to "Offline", but nothing happened in the page.
Re:Disconnect. Offline only by ckuijjer on Wednesday August 23, 2017 @08:54AM (#15081098)
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'))

Re:Disconnect. Offline only by timhigins on Wednesday August 23, 2017 @08:59AM (#15081131)
Worked for me in Chrome 60.0.3112.101
Re:Disconnect. Offline only by max23_ on Wednesday August 23, 2017 @09:12AM (#15081217)
I am on Chrome 60.0.3112.101 too and it works.
Re:Disconnect. Offline only by branchless on Wednesday August 23, 2017 @09:29AM (#15081344)
Firefox 54 on linux, didn't work.