From e67ef05a0de0ebbc0e83577fd404b4144213f201 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Sat, 2 Mar 2024 15:34:39 -0500 Subject: [PATCH] fix: match non-html extension too --- manifest.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/manifest.json b/manifest.json index 6f6bd37..af1cb3b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,29 +6,29 @@ "description": "Adds a simple table of contents and syntax highlighting to the web version of Practical Common Lisp by Peter Seibel.", "icons": { - "48": "./icon/icon.svg", - "96": "./icon/icon.svg" + "48": "./icon/icon.svg", + "96": "./icon/icon.svg" }, "background": { - "scripts": [ - "./js/webpoly.js", - "./js/background.js" - ] + "scripts": [ + "./js/webpoly.js", + "./js/background.js" + ] }, - + "content_scripts": [ - { - "matches": ["*://*.gigamonkeys.com/book/*.html"], - "exclude_matches": ["*://*.gigamonkeys.com/book/index.html"], - "js": ["./js/webpoly.js", "./js/highlight-lisp.js", "./js/tocbot.js","./js/tippy.js","./js/main.js"], - "css": ["./css/highlight-style.css"] - } + { + "matches": ["*://*.gigamonkeys.com/book/*.html", "*://*.gigamonkeys.com/book/*"], + "exclude_matches": ["*://*.gigamonkeys.com/book/index.html", "*://*.gigamonkeys.com/book/index"], + "js": ["./js/webpoly.js", "./js/highlight-lisp.js", "./js/tocbot.js","./js/tippy.js","./js/main.js"], + "css": ["./css/highlight-style.css"] + } ], "permissions": [ - "*://*.gigamonkeys.com/book/*", - "webRequest", - "storage" + "*://*.gigamonkeys.com/book/*", + "webRequest", + "storage" ] }