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-01-18 16:17:43 +01:00
|
|
|
A web extension that redirects YouTube, Twitter, TikTok... requests to alternative privacy friendly frontends and backends.
|
2022-01-28 15:04:53 +01:00
|
|
|
|
2023-02-10 00:38:28 +01:00
|
|
|
[![Firefox Add-on](./img/badge-amo.png)](https://addons.mozilla.org/firefox/addon/libredirect/)
|
|
|
|
<a href="https://libredirect.github.io/download_chromium.html">
|
2022-07-26 23:28:50 +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
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2022-06-05 19:10:42 +02:00
|
|
|
[![Weblate](./img/weblate.svg)](https://hosted.weblate.org/projects/libredirect/extension)
|
|
|
|
|
2021-01-11 07:46:00 +01:00
|
|
|
## Development
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2021-01-11 07:46:00 +01:00
|
|
|
### Install Dependencies
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2022-05-08 17:08:05 +02:00
|
|
|
[Node.js](https://nodejs.org/) latest LTS is recommended
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2022-05-05 19:36:30 +02:00
|
|
|
```
|
|
|
|
npm update
|
|
|
|
npm install
|
|
|
|
```
|
2021-01-11 07:46:00 +01:00
|
|
|
|
2023-01-22 18:44:36 +01:00
|
|
|
Generate the HTML pages (you should install [pug-cli](https://www.npmjs.com/package/pug-cli) first globally):
|
2022-10-25 13:43:59 +02:00
|
|
|
|
2022-07-05 22:02:32 +02:00
|
|
|
```
|
2023-01-21 12:29:10 +01:00
|
|
|
npm run pug
|
2022-07-05 22:02:32 +02:00
|
|
|
```
|
2022-10-25 13:43:59 +02:00
|
|
|
|
2022-10-25 22:00:31 +02:00
|
|
|
### Build the extension zip archive:
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2022-05-05 19:36:30 +02:00
|
|
|
```
|
|
|
|
npm run build
|
|
|
|
```
|
2021-01-11 07:46:00 +01:00
|
|
|
|
2022-02-15 18:45:01 +01:00
|
|
|
### Test in Firefox
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2022-05-05 19:36:30 +02:00
|
|
|
```
|
|
|
|
npm run start
|
|
|
|
```
|
2022-02-15 18:45:01 +01:00
|
|
|
|
|
|
|
### Install temporarily
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2023-01-22 18:44:36 +01:00
|
|
|
1. Type in the address bar: `about:debugging#/runtime/this-firefox`
|
|
|
|
3. Press `Load Temporary Add-on...`
|
2022-02-15 18:45:01 +01:00
|
|
|
|
2022-04-16 10:15:57 +02:00
|
|
|
### Install in Firefox ESR, Developer Edition, Nightly
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2023-01-22 18:44:36 +01: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
|
2022-02-15 18:45:01 +01:00
|
|
|
|
2022-04-16 10:15:57 +02:00
|
|
|
### Install in Chromium browsers
|
2022-07-26 23:28:50 +02:00
|
|
|
|
2023-01-22 18:44:36 +01:00
|
|
|
1. Open `chrome://extensions`
|
|
|
|
2. Enable `dev mode`
|
|
|
|
3. Select `load unpacked extension`
|
|
|
|
4. Select `src` folder
|
2022-02-15 18:45:01 +01:00
|
|
|
|
2022-12-26 04:00:16 +01:00
|
|
|
---
|
|
|
|
|
2022-09-28 21:18:32 +02:00
|
|
|
Forked from [Privacy Redirect](https://github.com/SimonBrazell/privacy-redirect)
|