gnome using non-free javascript??

5 respuestas [Último envío]
tomlukeywood
Desconectado/a
se unió: 12/05/2014

i have recently started using librejs
and i use gnome3
but when i went on the gnome extensions page:
https://extensions.gnome.org
nothing would show up as librejs had blocked the javascript

isnt gnome a gnu project?
why would a website have non free javascript when on its about page
it states "We promote software freedom"

so is this a bug in librejs or dose gnome rely have non-free software?

onpon4
Desconectado/a
se unió: 05/30/2012

Neither. If you look at the script LibreJS complains about, you'll see a clear license notice at the top. It's a libre script. But LibreJS depends on certain stylized comment to detect this, and the script doesn't use that.

I don't think this system of automatically loading JavaScript onto users' browsers is any good to begin with, though. I think it would be better to either have a dedicated application for installing extensions, or for extensions.gnome.org to be made to work with only the plugin.

tomlukeywood
Desconectado/a
se unió: 12/05/2014

this is the message librejs gave me about the blocked script
This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
```````````````````````````````````^
```````````````````````````````````|
```````````````````````````````````|
screenshot:
http://92.19.232.58:82/files/librejs.png

onpon4
Desconectado/a
se unió: 05/30/2012

Those two one-line scripts are just loading require.js, which states:

@license RequireJS 2.0.1 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
Available via the MIT or new BSD license.
see: http://github.com/jrburke/requirejs for details

"MIT license" refers to the Expat License, or perhaps the X11 License. Both of these are libre.

"New BSD license" refers to the Modified BSD License -- also libre.

tomlukeywood
Desconectado/a
se unió: 12/05/2014

ok thanks for clarifying

dobie_gillis
Desconectado/a
se unió: 10/27/2014

The require.js script then loads the require.js application they've written here: https://extensions.gnome.org/static/js/main.js (this is just one of the 20 or so files that were loaded in my browser). There's no license notice on these files, but we could get the developers of extensions.gnome.org to clarify the license of these files.