Add-on permissions in Firefox are not limited

There may not a be a a browser option/framework for selectively loading certain extensions on certain webpages. But the extension author certainly could implement such an option.
I know because at least one of my extensions has it.

Furthermore…

Is pretty useless anyways.

yt3.ggpht.com is blocked in Russia, this extension redirects all requests from it to yt4.ggpht.com.

If thats all it does … then there should be no reason for an extension.
Maybe you have some inkling of it not being entirely ‘good’ and that is why you want to make sure it is disabled most of the time?

In any case … if you want to have a ‘fix’ for this specific issue, system-wide, without any need for an addon … then … I would use something like /etc/hosts to redirect the IP.
(well, depending on if it is domain blocked, etc.)

142.250.217.65 yt4.ggpht.com yt3.ggpht.com

Or if you really need the extension … I found a github source that looks clean. No idea if it is the same as the firefox store addon, as there are no linkages. But here you can see the code.

1 Like