Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toddmotto/nofi
No WiFi, detecting offline states with HTML5
https://github.com/toddmotto/nofi
Last synced: 11 days ago
JSON representation
No WiFi, detecting offline states with HTML5
- Host: GitHub
- URL: https://github.com/toddmotto/nofi
- Owner: toddmotto
- Created: 2013-10-28T20:23:07.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-28T20:36:50.000Z (about 11 years ago)
- Last Synced: 2024-10-11T08:10:39.977Z (29 days ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 25
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NoFi [![Build Status](https://travis-ci.org/toddmotto/NoFi.png)](https://travis-ci.org/toddmotto/NoFi)
NoFi, for when there's no WiFi. Uses the native HTML5 API to detect if a user's internet goes offline and emits a custom `offline` event for your callbacks.
## Demo
Check out a [demo of NoFi](http://toddmotto.com/labs/nofi).## Options
Add the NoFi script just before the closing `