packs into xpi
This commit is contained in:
parent
6cb48d7702
commit
a08297e291
4 changed files with 26 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
diskort.xpi
|
5
makeext.sh
Executable file
5
makeext.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
zip diskort.xpi btfl.css ext.png manifest.json
|
||||||
|
echo "goto about:config and set xpinstall.signatures.required to false"
|
||||||
|
echo "then goto about:addons -> settings icon below search -> install add-on from file"
|
|
@ -11,9 +11,18 @@
|
||||||
|
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["https://discord.com/*"],
|
"matches": [
|
||||||
|
"*://discord.com/*",
|
||||||
|
"*://discord.gg/*",
|
||||||
|
"*://discord.gift/*"
|
||||||
|
],
|
||||||
"css": ["btfl.css"]
|
"css": ["btfl.css"]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "diskort@er2"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,15 @@ Currently it's in alpha.
|
||||||
|
|
||||||
Instruction for Firefox (may be working on Chrome with some changes).
|
Instruction for Firefox (may be working on Chrome with some changes).
|
||||||
|
|
||||||
|
Release mode:
|
||||||
|
|
||||||
|
1. Run ./makeext.sh (if on Linux or macOS).
|
||||||
|
Or just pack all files as zip into diskort.xpi
|
||||||
|
2. Go to ~about:config~ and set ~xpinstall.signatures.required~ to ~false~
|
||||||
|
3. Install extension (via ~about:addons~, drag&drop to browser, etc.).
|
||||||
|
|
||||||
|
Debug mode:
|
||||||
|
|
||||||
1. Clone or unpack downloaded zip archive (easily finds).
|
1. Clone or unpack downloaded zip archive (easily finds).
|
||||||
2. Go to ~about:debugging#/runtime/this-firefox~
|
2. Go to ~about:debugging#/runtime/this-firefox~
|
||||||
3. Click on *Load Temponary Add-on...*
|
3. Click on *Load Temponary Add-on...*
|
||||||
|
|
Loading…
Reference in a new issue