Hacker News new | ask | show | jobs
by untog 4316 days ago
But something like:

it uses dynamic JavaScript constructs that are difficult to analyze without interpreting the program

calling methods with the square bracket notation

feels like a totally arbitrary restriction. That has nothing to do with free software and everything to do with the difficulty of analysis. Stupid.

2 comments

They're reasonable signs that the JavaScript is non-trivial, not restrictions. You can write a program that uses them and release it under a free software license and LibreJS will run it.

Here's a good example of a trivial JavaScript program.

<a href="#" onclick="javascript:alert('hello world')">click me</a>

For any non-trivial JavaScript programs, a free software license is required if you want it to be run by LibreJS -- a program designed to block any nonfree software from running on your computer inside a web browser.

I don't understand this view point. If this is about Free Software, then triviality should be irrelevant, either the code is Free or it isn't. I can write an arbitrarily complicated program within their constraints, license it under a non-free license and this thing will run it.
Those forms are not (supposed to be) blocked if they are attached to a free license.