Project

General

Profile

Actions

Task #3583

closed

ChronoChat-js: Add a Micro Forwarder option

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
04/01/2016
Due date:
% Done:

0%

Estimated time:

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.)

Actions #1

Updated by Anonymous about 8 years ago

  • Blocked by Task #3581: Micro forwarder: Sign the Firefox extension added
Actions #2

Updated by Anonymous about 8 years ago

  • Description updated (diff)
Actions #3

Updated by Anonymous about 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?

Actions #4

Updated by Anonymous about 8 years ago

  • Blocked by deleted (Task #3581: Micro forwarder: Sign the Firefox extension)
Actions #5

Updated by Anonymous about 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

Actions #6

Updated by Wentao Shang about 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.

Actions

Also available in: Atom PDF