Follow

Trying to make my site compatible with [1]. The Javascript runtime is BSD, my own code is AGPL, and both compile down into a single JS blob. The LibreJS "spec" doesn't seem to have a way to mark a single chunk of code as having multiple licenses. :blobthinking:

1. gnu.org/software/librejs/free-

And don't forget to disable that LibreJS extension when doing anything else. Even Mastodon isn't compatible with it...

@ayo Does this mean that LibreJS happens to be mostly equivalent to NoScript?

@wasamasa Except malicious JS can get itself whitelisted with a simple comment tag, so it's actually worse. 😅

@ayo
Can't you
@license
//script1
@license-end
@license
script2
@license-end

?

Or do you mean the BSD and AGPL parts are so intermixed you can't tell where one ends and the other begins?

@Wolf480pl They're intermixed, for the most part.

@ayo
*stallman hat on*
Then they constitute a single program, which is a derivative work of both programs, and therefore the whole work is under AGPL. But make sure you satisfy the attribution requirements of BSD.
*stallman hat off*

Sign in to participate in the conversation
niu.moe

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !