libredirect / browser_extension

A browser extension that redirects popular sites to alternative privacy friendly frontends
https://libredirect.github.io
GNU General Public License v3.0
3.29k stars 123 forks source link

Maintain exclusion when opening link in new tab. #881

Open pbsds opened 10 months ago

pbsds commented 10 months ago

I use invidious, but prefer while consuming my subscription feed to be logged in on raw youtube.

While on youtube i queue videos as tabs by middle clicking new videos. Privacy redirect was able to exclude those new tabs from redirection and otherwise redirect as normal when not opening from youtube. I can't find a setting for this in libredirect, am I missing something or is this not available in libredirect?

If not, can I request it to be added?

ManeraKai commented 10 months ago

https://libredirect.github.io/docs.html#exceptions ?

pbsds commented 10 months ago
  1. Add https://youtube.com to exception
  2. open https://youtube.com, it opens without redirection
  3. middle-click or CTRL+click a youtube video, it opens in a new tab, redirected to invidious

privacy redirect supported preserving the exception to spawned tabs

ManeraKai commented 10 months ago

Also add https://www.youtube.com

pbsds commented 10 months ago

Forgot to type www.

image

pbsds commented 10 months ago

The problem still exists, www was always configured. Please read again

ManeraKai commented 10 months ago

I meant to add youtune.com and also add www.youtube.com.

pbsds commented 10 months ago

Screencast from 2024-01-09 14-19-14.webm

pbsds commented 10 months ago

It works within the same tab, preserving the exclusion, but not when spawning new tabs. This has been my query since the start

pbsds commented 10 months ago

privacy redirect was able to preserve the exclusion to new child tabs, meaning tabs spawned from an excluded tab

ManeraKai commented 10 months ago

The behavior is expected. Some people want to only browse the feed but watch the video in Invidious. Apparently you want that if you opened youtube.com, then you want youtube.com for your whole session. I think I should make a setting to change between those two behaviors.