Task #3583
closedChronoChat-js: Add a Micro Forwarder option
0%
Description
Update ChronoChat-js with an option to use the local MicroForwarder instead of WebSockets to a remote host. (We need a way to detect if the Micro Forwarder extension has been installed.)
Updated by Anonymous over 8 years ago
- Blocked by Task #3581: Micro forwarder: Sign the Firefox extension added
Updated by Anonymous over 8 years ago
Wentao, do you know a way for the JavaScript page to determine if the Micro Forwarder extension is loaded? We could put something in content.js, but that seems like a hack. Does Web Extensions have a built-in way to check?
Updated by Anonymous over 8 years ago
- Blocked by deleted (Task #3581: Micro forwarder: Sign the Firefox extension)
Updated by Anonymous over 8 years ago
- Status changed from New to Closed
To check if the Micro Forwarder extension is loaded, the page sends a "faces/list" message. If the response comes, the page shows a radio button to select the Micro Forwarder.
https://github.com/named-data/ChronoChat-js/blob/89aabe209c33f4f6b3f671658d2361a09fef7bc5/index.html#L148
Updated by Wentao Shang over 8 years ago
Jeff Thompson wrote:
To check if the Micro Forwarder extension is loaded, the page sends a "faces/list" message. If the response comes, the page shows a radio button to select the Micro Forwarder.
https://github.com/named-data/ChronoChat-js/blob/89aabe209c33f4f6b3f671658d2361a09fef7bc5/index.html#L148
Sorry I lost track of the redmine messages and didn't reply to your previous question. The solution looks good to me.