fluks / redirect-link

A browser addon to redirect a link to somewhere else.
GNU General Public License v3.0
22 stars 2 forks source link

How would redirect any Facebook URL to just the main page of Startpage? #42

Closed linlinxza closed 9 months ago

linlinxza commented 9 months ago

I am trying to make all social media domain requests redirect back to startpage.com?

Despite I have it set in my PiHole server to block all the social media sites (I even used letsblock.it to add filters to block these social media domains in the search engines), I am wanting to use this addon as further insurance to block all social media domains I deem as trash. And honestly, the less tracking the better too.

I have it set like this (ex):

URL = https://www.startpage.com/%p Enable URL = https://facebook.com/*

But it doesn't work for anything like this: https://www.facebook.com/deviantart/

fluks commented 9 months ago

Try https://(www\.)?facebook.com/*.

And the URL doesn't work like that on Startpage. Maybe https://www.startpage.com/search?q=%p. That seems to work.

linlinxza commented 9 months ago

Actually, all I did was this:

URL = https://www.startpage.com/%f Enable URL = .+facebook.com

That works. And it will affect any sub domains of Shitbook, or if it starts with 'www'. I did the same thing for other social media sites respectively as well (like Quitter, Diktok and Instacram).

Anyways, thanks for the help.