[HTTPS-Everywhere] compatibility with other add-on
Peter Eckersley
pde at eff.org
Fri Apr 20 11:06:05 PDT 2012
Hi Loic,
The only extension I'm aware of that uses the "https-everywhere-uri-rewrite"
notification is RequestPolicy (Justin Samuel, the author of RequestPolicy,
wrote the patch to add this notification to HTTPS Everywhere).
I suspect that the way it is currently implemented might be slightly
non-optimal (in some cases, if you had an nsIHTTPChannel, we could have a
notification that gives you back a new, replacement HTTPS channel so that you
don't have to try making the request again). But it should work.
On Fri, Apr 20, 2012 at 01:39:16PM -0400, Loic J. Duros wrote:
> Hello,
>
> The add-on I workon, LibreJS (http://www.gnu.org/software/librejs/
> ), does not catch URI changes that https-everywhere makes for
> certain rules (google-services is one of them.)
> Whenever a URL doesn't go through, the log function returns "DOM
> window exploded". One of the issues is that LibreJS performs a
> number of xhr requests before passing on the intercepted http
> response, and when your extension switches a url from http to https,
> the request never gets completed.
>
> I have read that to remedy to the issue of incompatibility,
> https-everywhere has set up a custom notification
> "https-everywhere-uri-rewrite". Do you have any concrete examples on
> how this works, or do you know any extension or add-on that make use
> of this and have achieved compatibility with https-everywhere?
>
> Many thanks for your help,
>
> Loic Duros
>
>
--
Peter Eckersley pde at eff.org
Technology Projects Director Tel +1 415 436 9333 x131
Electronic Frontier Foundation Fax +1 415 436 9993
More information about the HTTPS-everywhere
mailing list