From 58fe4c7d806359bed299f74ba56902ab396a6ed1 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 14 Dec 2021 21:40:23 +0100 Subject: facilitate broadcasting messages to different execution contexts within the webextension --- common/connection_types.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/connection_types.js') diff --git a/common/connection_types.js b/common/connection_types.js index a571cb9..9747e5c 100644 --- a/common/connection_types.js +++ b/common/connection_types.js @@ -49,7 +49,9 @@ const CONNECTION_TYPE = { REMOTE_STORAGE : "0", PAGE_ACTIONS : "1", - ACTIVITY_INFO : "2" + ACTIVITY_INFO : "2", + BROADCAST_SEND: "3", + BROADCAST_LISTEN: "4" }; /* -- cgit v1.2.3