making a libre.fm grea

7 risposte [Ultimo contenuto]
tomlukeywood
Offline
Iscritto: 12/05/2014

i have recently discovered libre.fm:
https://libre.fm/

and as i dont run javascript(from webpages)
i am trying to make a greasemonkey script of the player

but even though i copyed all the code from all the js files on the site into the greasemonkey script
it still dose not load the player

so i am assuming i must not be using the correct script from the webpage?

dose anyone know what script i should use(from this page)
in greasemonkey to make the player work?

tomlukeywood
Offline
Iscritto: 12/05/2014

NOTICE:
misspellt title
please read grea as greasemonkey

quantumgravity
Offline
Iscritto: 04/22/2013

I can't answer your question, but isn't this kind of a problem when it comes to licensing??
Can you really just copy this unlicensed (and therefore copyrighted?) code and make a free script out of it?

danieru
Offline
Iscritto: 01/06/2013

"Can you really just copy this unlicensed code and make a free script out of it?"

I think it depends on the country legislation, but in practical terms, no.

It's recommendable to write your own code before releasing, this way you can legally license it under whatever free license you choose.

ssdclickofdeath
Offline
Iscritto: 05/18/2013

Why do you think the JS is proprietary?
The main player script (https://libre.fm/js/player.js) is licensed under the Affero GPL. There are other scripts on the page such as jQuery and Bootstrap, which are both free. It does try to load a proprietary JavaScript program from api.flattr.com, which can be blocked with NoScript.

I found these scripts on this page: https://libre.fm/listen.php?tag=folk

tomlukeywood
Offline
Iscritto: 12/05/2014

the reason why i dont run js from webpages is not becuase of the license
i am aware its under the gpl

the problem is that js is automaticly executed and the user
is not(on most browsers)
given a chance to view what is about to be run

all js must not be instantly updated from somone elses server
it should be on your own comupter in a enviroment that allows
you to modify it etc
sorry if this dosent make too much sense but i am tired and
by mistake deleated the post i had previosly written here
(stupid lynx!! :()

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

the problem is that js is automaticly executed and the user
is not(on most browsers)
given a chance to view what is about to be run

all js must not be instantly updated from somone elses server
it should be on your own comupter

exactly! tomlukey I send you one virtual pistacchio icecream for this one! :)

quantumgravity
Offline
Iscritto: 04/22/2013

Wow, guess onpon4 really started a movement there!