summaryrefslogtreecommitdiff
path: root/src/bg
diff options
context:
space:
mode:
authorhackademix2018-08-28 00:34:17 +0200
committerGitHub2018-08-28 00:34:17 +0200
commit5bfba8a40fb591d9023ee113965fadcd733ba931 (patch)
tree8e12399bc3707855c45ee54cd08f7205dc849631 /src/bg
parente2b63cf98204a45f4c55ba446689d20e524c188c (diff)
parent26bfd899f91b5517074d66c5d72ea0917a3088a0 (diff)
downloadnoscript-5bfba8a40fb591d9023ee113965fadcd733ba931.tar.gz
noscript-5bfba8a40fb591d9023ee113965fadcd733ba931.tar.xz
noscript-5bfba8a40fb591d9023ee113965fadcd733ba931.zip
Merge pull request #16 from rustybird/started
Broadcast a "started" message after initialization
Diffstat (limited to 'src/bg')
-rw-r--r--src/bg/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bg/main.js b/src/bg/main.js
index fa2831c..72ef5de 100644
--- a/src/bg/main.js
+++ b/src/bg/main.js
@@ -186,6 +186,7 @@
await include("/bg/Settings.js");
Messages.addHandler(messageHandler);
+ await Messages.send("started");
log("STARTED");
this.devMode = (await browser.management.getSelf()).installType === "development";