And RMS Spake, and it Was Good
As well as being a great coder, RMS is a fine writer (he made a number of excellent suggestions when I sent him rough drafts of the relevant chapter of Rebel Code). So it's a pity that he doesn't write much these days.
And it's also a red-letter day when he does, as with his latest missive: "The Javascript Trap". This describes a problem he has spotted: non-free Javascript.It is possible to release a Javascript program as free software, by distributing the source code under a free software license. But even if the program's source is available, there is no easy way to run your modified version instead of the original. Current free browsers do not offer a facility to run your own modified version instead of the one delivered in the page. The effect is comparable to tivoization, although not quite so hard to overcome.
...
It is possible to release a Javascript program as free software, by distributing the source code under a free software license. But even if the program's source is available, there is no easy way to run your modified version instead of the original. Current free browsers do not offer a facility to run your own modified version instead of the one delivered in the page.
He comes up with some interesting solutions:we need to change free browsers to support freedom for users of pages with Javascript. First of all, browsers should be able to tell the user about nontrivial non-free Javascript programs, rather than running them. Perhaps NoScript could be adapted to do this.
Browser users also need a convenient facility to specify Javascript code to use instead of the Javascript in a certain page.
RMS: where would we be without him?
Follow me on Twitter @glynmoody