aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.lisp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.lisp b/src/main.lisp
index d08b323..198b3ab 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -151,8 +151,11 @@ the target to reload the current tab."
(defun extension-targets (targets)
"Filter `targets`, returning a list of targets corresponding to extensions."
(labels ((extensionp (target)
- (string= (json-obj-get target "type")
- "background_page")))
+ (or
+ (string= (json-obj-get target "type")
+ "background_page")
+ (string= (json-obj-get target "type")
+ "service_worker"))))
(filter #'extensionp targets)))