|
From: | jahoti |
Subject: | Re: LibreJS fails to block nonfree scripts on pages served through other protocols than http(s) |
Date: | Fri, 14 May 2021 04:18:00 +0000 |
On 5/13/21 3:14 AM, Svetlana Tkachenko wrote:
file: is kind of a special case.Is it? People wouldn't want to run proprietary JavaScript, even from a file on their disk.
Perhaps not; however, I don't think it's actually possible to fix the issue properly. Firefox only provides an API to intercept loaded data for HTTP/S, and there doesn't seem to guarantee Firefox won't start running any code it's received before LibreJS has had a look at it.
I believe the same problem affects NoScript; many times I have opened a local file containing MathJax in a new tab and had my text marked up despite JavaScript being blocked.
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |