Poll json and display result in toolbar.

Latest Version

Version
1.0
Update
March 27, 2018
Size
50.62KiB
Developer
Category
Users
3
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Background
Storage
See more

json poll Extension

grab every second the json url you specified in options and read 2 fields in it:

- \"param\": if param is equal to \"ok\", \"ok\" is displayed on the app icon (green background)

- \"t\": if param is not \"ok\", t value is displayed on the app icon (yellow background)

examples of json:

{\"param\":\"ok\"}

{\"param\":\"error\", \"t\":\"fail\"}
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "json poll", "version": "1.0", "description": "poll json and display result in toolbar.", "icons": { "64": "cloud-reload-21-64x64.png", "128": "cloud-reload-21-128x128.png", "256": "cloud-reload-21-256x256.png",\t "512": "cloud-reload-21.png" }, "permissions": [\t "background", "storage" ], "browser_action": {\t"name": "click me", "default_icon": "cloud-reload-21-64x64.png" }, "options_page": "options.html", "background": { "scripts": ["jquery-2.1.1.min.js", "background.js"] }}
Read more