Open aidanholm opened 8 years ago
On Wed, 29 Jun 2016 14:48:10 -0700, Aidan Holm notifications@github.com wrote:
Possible implementation method: automatically rewrite
http://
URIs tohttps://
URIs, and detect a subsequentload-status
success or failure signal, adding to whitelist/blacklist as appropriate.
Automatically add to whitelist/blacklist? In the case such a blacklisted URI adds https in the future we could miss them. Possible fix: adding a timestamp 'lastProbe' or similar to the blacklist file and periodically (every 10 days?) probe again (and update the timestamp). Or let the user configure a timeout (-1 for never probe again?) because probes really could cause quite a lag... As there are many similar plugins for other browsers we also could use a blacklist file they offer and tell the user to update it regularly (like with adblock).
That's a good point. If probing takes too long, then it could be done in a separate invisible webview widget in parallel wth the original request.
Possible implementation method: automatically rewrite
http://
URIs tohttps://
URIs, and detect a subsequentload-status
success or failure signal, adding to whitelist/blacklist as appropriate.