diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md index 6d0ad08b..c71984a1 100644 --- a/README.md +++ b/README.md @@ -11,34 +11,42 @@ A browser extension that redirects YouTube, Twitter, TikTok... requests to alter </a> ## Translate + <a href="https://hosted.weblate.org/projects/libredirect/extension"> <img src ="./img/weblate.svg"> </a> ## Development + Install [Node.js](https://nodejs.org/) + ```bash git clone https://github.com/libredirect/browser_extension cd browser_extension npm install npm run html # Generates html using Pug ``` + #### Run on Firefox + ```bash npm run start ``` #### Build a zip package for Firefox + ```bash npm run build ``` #### Install the zip package on Firefox (temporarily) + 1. Type in the address bar: `about:debugging#/runtime/this-firefox` 2. Press `Load Temporary Add-on...` 3. Select `libredirect-VERSION.zip` from `web-ext-artifacts` folder #### Install the zip package on Firefox ESR, Developer Edition, Nightly + 1. Type in the address bar: `about:config` 2. Set `xpinstall.signatures.required` to `false` 3. Type in the address bar: `about:addons` @@ -46,6 +54,7 @@ npm run build 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` |