[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-librejs] Feature request: Spoof <noscript> tags
From: |
Julie Marchant |
Subject: |
Re: [Bug-librejs] Feature request: Spoof <noscript> tags |
Date: |
Wed, 1 Aug 2018 21:32:56 -0400 |
On 08/01/2018 01:57 PM, Caleb Herbert wrote:
> Please make LibreJS prefer non-JS versions of sites before it tries to
> screen the JS versions of sites for free/libre JS.
>
> Hey! I just tried LibreJS WebExtension! I'm super impressed! The
> interface is actually usable, and it can almost replace what I use
> NoScript/uMatrix for! Only one thing missing: no equivalent to
> uMatrix's Spoof <noscript> tags when 1st-party scripts are blocked.
>
> This feature is important, because it lets many sites work when they
> otherwise wouldn't.
>
> Because many sites have fully functioning non-JS versions of the site,
> if you tell them you don't run JS.
>
> With LibreJS, I just get a broken JS page when they could have sent me
> a working non-JS page with uMatrix.
Just a note, the server doesn't send special versions of a page. Rather,
the <noscript> tags are handled by the browser; they're just parts that
only show up when JavaScript is disabled. So what's needed isn't to
"spoof" the tags, but actually to make it so the browser doesn't hide them.
I would think the easiest way to do this would be to change the
<noscript> tags to some non-standard tag that would just be ignored by
the browser (therefore treating its contents as if it was outside the
<noscript> tag), but I'm not a JavaScript programmer (so I could be
wrong) and there might be a better solution anyway.
--
Julie Marchant
https://onpon4.github.io
signature.asc
Description: OpenPGP digital signature