2577ea896b
Firstly Firefox 60 now throws an error if its run as root inside a user's home path. Which is great because that revelead my naivety about using `RUN su user` in the Dockerfile. So now Firefox is running as a non-root user inside Docker which is what was always best. Also it turns out that the crude 3 second wait at startup hoping that Firefox's Marionette had started listening, wasn't good enough. So now we're actually listening for a log message to know when it's started now. Finally make all startup methods use a the post-webext connection state to send the startup URL to the browser, the other methods just seemed to flakey. Includes version bump to 1.0.9
38 lines
675 B
JSON
38 lines
675 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Browsh",
|
|
"version": "1.0.9",
|
|
|
|
"description": "Renders the browser as realtime, interactive, TTY-compatible text",
|
|
|
|
"icons": {
|
|
"48": "assets/icons/browsh-48.png",
|
|
"96": "assets/icons/browsh-96.png"
|
|
},
|
|
|
|
"background": {
|
|
"scripts": ["background.js"]
|
|
},
|
|
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["*://*/*"],
|
|
"js": ["content.js"],
|
|
"css": ["assets/styles.css"],
|
|
"run_at": "document_start"
|
|
}
|
|
],
|
|
|
|
"web_accessible_resources": [
|
|
"assets/BlockCharMono.ttf",
|
|
"assets/BlankMono.ttf"
|
|
],
|
|
|
|
"permissions": [
|
|
"<all_urls>",
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"tabs"
|
|
]
|
|
}
|