Open-Source Alternative Redirector

Redirects you from proprietary web-services to ethical alternatives.

Stan na 07-03-2022. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name Open-Source Alternative Redirector
// @namespace -
// @version 0.4
// @description Redirects you from proprietary web-services to ethical alternatives.
// @author NotYou
// @include *youtube.com/*
// @include *google.com/*
// @include *reddit.com/*
// @include *twitter.com/*
// @include *instagram.com/*
// @include *wikipedia.com/*
// @run-at document-start
// @license GPLv3
// @license-link https://www.gnu.org/licenses/gpl-3.0.txt
// @icon https://icons.iconarchive.com/icons/itweek/knob-toolbar/32/Knob-Shuffle-Off-icon.png
// @grant none
// ==/UserScript==

/*

﹀ Change Log ﹀

0.4 Version:
- Priority for Google Translate and DeepL redirect

0.3 Version:
- Fixed Live/Proton and Mail/Tatunota includes

0.2 Version:
- Added Email Web-sites
- Added Linux Distributive
- Added Icon

*/

// ALTERNATIVE FRONT-END //
const invidious = "https://yewtu.be"
const searx = "https://searx.org"
const libreddit = "https://reddit.invak.id"
const nitter = "https://nitter.snopyta.org"
const bibliogram = "https://bibliogram.art"
const wikiless = "https://wikiless.org"

// YouTube | Invidious
if(window.location.host.indexOf("youtube.com") != -1){
    window.location.replace(invidious + window.location.pathname + window.location.search)
}

// Google | Searx
if(window.location.host.indexOf("google.com") != -1){
    window.location.replace(searx + window.location.pathname + window.location.search)
}

// Reddit | Libreddit
if(window.location.host.indexOf("reddit.com") != -1){
    window.location.replace(libreddit + window.location.pathname + window.location.search)
}

// Twitter | Nitter
if(window.location.host.indexOf("twitter.com") != -1){
    window.location.replace(nitter + window.location.pathname + window.location.search)
}

// Instagram | Bibliogram
if(window.location.host.indexOf("instagram.com") != -1){
    window.location.replace(bibliogram + window.location.pathname + window.location.search)
}

// Wikipedia | Wikiless
if(window.location.host.indexOf("wikipedia.org") != -1){
    window.location.replace(wikiless + window.location.pathname + window.location.search)
}