eyedeekay / I2P-in-Private-Browsing-Mode-Firefox

I2P in Private Browsing mode for Firefox, built using Webextensions and Contextual Identities
https://eyedeekay.github.io/I2P-in-Private-Browsing-Mode-Firefox/
MIT License
62 stars 10 forks source link

Something like onion-location header #109

Closed rfc-2549 closed 3 years ago

rfc-2549 commented 3 years ago

Hi.

Tor Browser automatically redirects to the .onion site specified in the onion-location header.

So I think that this extension should redirect to the I2P website specified in a, for instance, i2p-location header

Thanks!

eyedeekay commented 3 years ago

We already have this. We don't redirect automatically, that was a conscious decision, but in every other respect we have this feature with the X-I2P-Location header. You'll see an indicator in the same place that the "lock" shows up for I2P, HTTPS-over-I2P, etc. For redirecting automatically, right now, I think the right way to do it is with an interstitial in the HTTP proxy, so that we're only redirecting people to the .i2p site if they are visiting the clearnet equivalent over an outproxy. Right now ramble and i2pgit are the only services I know of which use this form of the header. idk.i2p also uses the meta http-equiv variant.

eyedeekay commented 3 years ago

Turns out there was a small bug in the implementation, which is fixed on the main branch and will be fixed in plugin release as soon as it clear's AMO's queue.