Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
binaryapparatus
on Aug 23, 2017
|
parent
|
context
|
favorite
| on:
Disconnect. Offline only
Doesn't work on FreeBSD/firefox? First I put interface down, so no network access, second try I physically pulled cable out. Nothing happens.
gberger
on Aug 23, 2017
|
next
[–]
As a workaround, run this: window.dispatchEvent(new Event('offline'))
binaryapparatus
on Aug 23, 2017
|
parent
|
next
[–]
That worked, thanks.
wlkr
on Aug 23, 2017
|
prev
|
next
[–]
I found it worked in Firefox by going to File -> Work Offline but I'm on macOS.
expnsv_hdphns
on Aug 24, 2017
|
prev
|
next
[–]
Same with firefox on debian. I sure hope this article is good after I put so much work into enabling it.
hatsunearu
on Aug 23, 2017
|
prev
[–]
What a stupid and annoying gimmick. Author couldn't even be assed to check if it isn't horribly broken in a major browser.
0xffff2
on Aug 23, 2017
|
parent
[–]
Major browser and specific OS. The gimmick works fine in Firefox on Windows 10.
hatsunearu
on Aug 24, 2017
|
root
|
parent
[–]
Didn't work on my machine; it was FX and Win 10. Didn't even test it with my Linux laptop.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: