[x] Add a global setting to "Automatically redirect to dat:// when available", default on (auto_redirect_to_dat)
When a dat:// version is detected...
[x] ...If auto_redirect_to_dat=1, then immediately redirect to the dat:// version
[x] ...else, show the current "P2P version available" badge
[x] After an auto-redirect to dat://, show a new badge that says "HTTPS version available" which will redirect to the https:// version. When clicked, the auto-redirect-to-dat for that site should be disabled for the browsing session.
All 3 comments
馃憤 馃憤 馃憤
Okay here's how I propose we do this:
[x] Add a global setting to "Automatically redirect to dat:// when available", default on (auto_redirect_to_dat)
When a dat:// version is detected...
[x] ...If auto_redirect_to_dat=1, then immediately redirect to the dat:// version
[x] ...else, show the current "P2P version available" badge
[x] After an auto-redirect to dat://, show a new badge that says "HTTPS version available" which will redirect to the https:// version. When clicked, the auto-redirect-to-dat for that site should be disabled for the browsing session.
Feature merged! Thanks to @Septimus for doing this!
Most helpful comment
Okay here's how I propose we do this:
auto_redirect_to_dat)auto_redirect_to_dat=1, then immediately redirect to the dat:// version