Can NoScript be configured to trust all JS approved as libre by LibreJS?

3 respuestas [Último envío]
strypey
Desconectado/a
se unió: 05/14/2015

Does anyone know if there's a way to get LibreJS and NoScript to play nicely together? What I'd like is for NoScript to automatically trust JS from any domains that LibreJS confirms as Free Code.

Lugodunos
Desconectado/a
se unió: 05/28/2022

It is always possible, if you merge the codes of those project, but certainly very complicated.
Is there another way to do it? I don't know.
Does it worth it? I don't think so, it's easier to just set NoScript to concider JavaScript as trustworthy and to set LibreJS the more restrictively possible (I didn't use LibreJS since a few years, so, I don't remember how it can be configured, so, what I describe as "the more restrictively possible" might be the default, I don't remember).
Frankly, JavaScript does such a mess nowadays that I adopted the anti-JavaScript philosophy of some folks in the I2P network and when I take time to do it, I just try to figure out the best way to remove the LibreJS “compliant” JavaScripts from my still active websites.

EmiliaES
Desconectado/a
se unió: 06/28/2023

if there is a list of approved URLs you should be able to just add them to the whitelist page in NoScript, but honestly I recommend just whitelisting things you know you will need to manually approve often for example Amazon or YouTube's login or whatever. Otherwise just manually allow pages that need it.

strypey
Desconectado/a
se unió: 05/14/2015

Lugodunos:
> it's easier to just set NoScript to concider JavaScript as trustworthy and to set LibreJS the more restrictively possible

This is exactly the opposite of what I want. I want NoScript to block all JS, unless a) LibreJS approves it, or b) I manually approve it. I don't want NoScript just randomly letting things through. I don't want LibreJS to block anything, as that just stops most things from working. Which is why I've never adopted LibreJS in place of NoScript. It's impractical for me.

EmiliaES
> if there is a list of approved URLs

I'm not sure exactly sure how LibreJS works, but it's more complicated than that. It involves checking for licenses (or "trivial" JS) is real time.