2022-04-16 10:15:57 +02:00
|
|
|
<img src="./img/libredirect_full.svg" height="50"/>
|
2022-02-15 18:45:01 +01:00
|
|
|
|
2023-05-14 18:19:04 +02:00
|
|
|
A browser extension that redirects YouTube, Twitter, TikTok... requests to alternative privacy friendly frontends and backends.
|
2022-01-28 15:04:53 +01:00
|
|
|
|
2023-05-14 18:19:04 +02:00
|
|
|
<a href="https://addons.mozilla.org/firefox/addon/libredirect/">
|
|
|
|
<img src ="./img/badge-amo.png" height=60 >
|
|
|
|
</a>
|
|
|
|
|
2023-02-10 00:38:28 +01:00
|
|
|
<a href="https://libredirect.github.io/download_chromium.html">
|
2023-05-14 18:19:04 +02:00
|
|
|
<img src ="./img/badge-chromium.png" height=60 >
|
2022-05-11 17:59:47 +02:00
|
|
|
</a>
|
2022-04-16 09:53:17 +02:00
|
|
|
|
2022-06-05 19:10:42 +02:00
|
|
|
## Translate
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-05-14 18:19:04 +02:00
|
|
|
<a href="https://hosted.weblate.org/projects/libredirect/extension">
|
|
|
|
<img src ="./img/weblate.svg">
|
|
|
|
</a>
|
2022-06-05 19:10:42 +02:00
|
|
|
|
2021-01-11 07:46:00 +01:00
|
|
|
## Development
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-05-14 18:19:04 +02:00
|
|
|
Install [Node.js](https://nodejs.org/)
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-05-10 05:44:02 +02:00
|
|
|
```bash
|
|
|
|
git clone https://github.com/libredirect/browser_extension
|
|
|
|
cd browser_extension
|
2022-05-05 19:36:30 +02:00
|
|
|
npm install
|
2023-05-14 18:19:04 +02:00
|
|
|
npm run html # Generates html using Pug
|
2022-05-05 19:36:30 +02:00
|
|
|
```
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-06-02 17:17:47 +02:00
|
|
|
#### Run on Firefox
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-06-02 17:17:47 +02:00
|
|
|
```bash
|
|
|
|
npm run start
|
|
|
|
```
|
2021-01-11 07:46:00 +01:00
|
|
|
|
2023-06-02 17:11:33 +02:00
|
|
|
#### Build a zip package for Firefox
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-05-10 05:44:02 +02:00
|
|
|
```bash
|
2022-05-05 19:36:30 +02:00
|
|
|
npm run build
|
|
|
|
```
|
2023-06-02 17:17:47 +02:00
|
|
|
|
2023-06-02 17:11:33 +02:00
|
|
|
#### Install the zip package on Firefox (temporarily)
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-06-02 17:17:47 +02:00
|
|
|
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
|
2022-02-15 18:45:01 +01:00
|
|
|
|
2023-06-02 17:11:33 +02:00
|
|
|
#### Install the zip package on Firefox ESR, Developer Edition, Nightly
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-06-02 17:17:47 +02:00
|
|
|
1. Type in the address bar: `about:config`
|
|
|
|
2. Set `xpinstall.signatures.required` to `false`
|
|
|
|
3. Type in the address bar: `about:addons`
|
|
|
|
4. Click on the gear shaped `settings` button and select `Install Add-on From File...`
|
|
|
|
5. Select `libredirect-VERSION.zip` from `web-ext-artifacts` folder
|
|
|
|
|
|
|
|
#### Run on Chromium
|
2024-07-21 20:22:09 +02:00
|
|
|
|
2023-06-02 17:17:47 +02:00
|
|
|
1. Open `chrome://extensions`
|
|
|
|
2. Enable `dev mode`
|
|
|
|
3. Select `load unpacked extension`
|
|
|
|
4. Select `src` folder
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2022-12-26 04:00:16 +01:00
|
|
|
---
|
|
|
|
|
2024-05-26 08:32:03 +02:00
|
|
|
Test conditions to check new functions and changes after building - [please refer here](./test-conditions.md)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2022-09-28 21:18:32 +02:00
|
|
|
Forked from [Privacy Redirect](https://github.com/SimonBrazell/privacy-redirect)
|