mirror of
https://github.com/vale981/practical-cl-beautified
synced 2025-03-04 09:11:37 -05:00
fix: match non-html extension too
This commit is contained in:
parent
58bd94cf43
commit
e67ef05a0d
1 changed files with 16 additions and 16 deletions
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue