[qutebrowser] Custom URL rewrites/redirects

Javier Ayres javierayres at gmail.com
Sun Jun 16 01:45:28 CEST 2019


Awesome, this looks exactly like what I needed. It seems the version
from Debian's repo still doesn't have this feature but I'm only one
version behind, so it's got to be the next one.

Thanks!

2019-06-14 6:35 GMT-03:00, Jay Kamat <jaygkamat at gmail.com>:
>
> Javier Ayres writes:
>
>> Hi all. I'm wondering if qutebrowser has a feature which I'm not sure
>> exactly how is it called, so I'm having trouble looking for it in the
>> documentation.
>>
>> What I want is to write a set to rules that will modify the URLs of
>> the requests I'm making according to a pattern. For example: I want
>> that every request I make to a URL that looks like
>> "https://www.reddit.com/*" is re-routed to "https://old.reddit.com/*".
>
> I use this to do this for me:
>
> http://www.gitlab.com/jgkamat/dotfiles/blob/master/qutebrowser/.config/qutebrowser/pyconfig/redirectors.py#L34
>



More information about the qutebrowser mailing list