mirror of
https://codeberg.org/LibRedirect/libredirect.git
synced 2024-12-23 16:28:46 +01:00
Updated README
This commit is contained in:
parent
84f0f02a6d
commit
a00e5d68b8
33
README.md
33
README.md
@ -22,29 +22,34 @@ git clone https://github.com/libredirect/browser_extension
|
|||||||
cd browser_extension
|
cd browser_extension
|
||||||
npm install
|
npm install
|
||||||
npm run html # Generates html using Pug
|
npm run html # Generates html using Pug
|
||||||
npm run start # Runs in firefox in debug mode using Web-ext
|
|
||||||
```
|
```
|
||||||
#### Build and Run on Chromium manually
|
#### Run on Firefox
|
||||||
1. Open `chrome://extensions`
|
```bash
|
||||||
2. Enable `dev mode`
|
npm run start
|
||||||
3. Select `load unpacked extension`
|
```
|
||||||
4. Select `src` folder
|
|
||||||
|
|
||||||
#### Build a zip package for Firefox
|
#### Build a zip package for Firefox
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Install the zip package on Firefox (temporarily)
|
#### Install the zip package on Firefox (temporarily)
|
||||||
3. Type in the address bar: `about:debugging#/runtime/this-firefox`
|
1. Type in the address bar: `about:debugging#/runtime/this-firefox`
|
||||||
4. Press `Load Temporary Add-on...`
|
2. Press `Load Temporary Add-on...`
|
||||||
5. Select `libredirect-VERSION.zip` from `web-ext-artifacts` folder
|
3. Select `libredirect-VERSION.zip` from `web-ext-artifacts` folder
|
||||||
|
|
||||||
#### Install the zip package on Firefox ESR, Developer Edition, Nightly
|
#### Install the zip package on Firefox ESR, Developer Edition, Nightly
|
||||||
3. Type in the address bar: `about:config`
|
1. Type in the address bar: `about:config`
|
||||||
4. Set `xpinstall.signatures.required` to `false`
|
2. Set `xpinstall.signatures.required` to `false`
|
||||||
5. Type in the address bar: `about:addons`
|
3. Type in the address bar: `about:addons`
|
||||||
6. Click on the gear shaped `settings` button and select `Install Add-on From File...`
|
4. Click on the gear shaped `settings` button and select `Install Add-on From File...`
|
||||||
7. Select `libredirect-VERSION.zip` from `web-ext-artifacts` folder
|
5. Select `libredirect-VERSION.zip` from `web-ext-artifacts` folder
|
||||||
|
|
||||||
|
#### Run on Chromium
|
||||||
|
1. Open `chrome://extensions`
|
||||||
|
2. Enable `dev mode`
|
||||||
|
3. Select `load unpacked extension`
|
||||||
|
4. Select `src` folder
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user