The Register® — Biting the hand that feeds IT

Feeds

FSF to Google: Free Gmail's JavaScript now!

Enslaved browser code sullies world's machines

Agentless Backup is Not a Myth

The Free Software Foundation has called on Google to release Gmail's JavaScript code under a free software license, continuing its crusade to ensure that all "nonfree" software is eradicated from the world's computers.

"We believe that computer users should be able to use their computer in freedom, and in order to do so, you have to have all pieces of software on your computer under your control," FSF man Matt Lee tells The Register. "It's not enough to just be able to see the source. You must be able to modify the source code. Otherwise, you are still beholden to developers."

This includes the JavaScript that web applications download into the browser. Free Software Foundation founder Richard Stallman has warned of what he calls "The JavaScript Trap", where a computer user believes he's running nothing but free software, only to discover that his browser is stuffed with nonfree JavaScript.

"You may be running nonfree programs on your computer every day without realizing it – through your web browser," Stallman said. "But browsers run other nonfree programs which they don't ask you about or even tell you about – programs that web pages contain or link to. These programs are most often written in JavaScript, though other languages are also used."

And so, the Foundation wants web-application developers to release their JavaScript under a free software license. That's right, it wants the code open sourced, but this being the Free Software Foundation, it prefers the term free software.

Stallman and his followers are not concerned with the freedom of what they call "trivial" JavaScript – code that runs, say, a small animation. "This can easily be ignored," Lee says. "You can easily block it." The Foundation is concerned with "non-trivial" JavaScript such as that used for actual computing tasks on the client. This includes the JavaScript used by an app like Gmail. "If you turn off Gmail JavaScript," Lee tells us, "you can't use Gmail."

"When you visit a website such as Gmail, your browser will download and run several thousand lines of JavaScript code. JavaScript code is no different to languages like Python, C++ or Ruby – applications written in those languages running on our computers should be free software, so we can run, modify and share them if we wish," Lee said in a Thursday blog post.

Lee acknowledges that there are ways to bypass Gmail's JavaScript, but he wants the company to go further. "Google has made a step toward this goal by developing a 'basic HTML' version of the Gmail website, which does not rely on heavy JavaScript to build the user interface. They also provide IMAP and POP interfaces for users to access their Gmail accounts without using the website at all. These are both good steps towards a larger, positive goal," Lee says.

"[But] if you use Gmail, please ask Google to take the next step towards making Gmail free software friendly by releasing the JavaScript for Gmail under a free software license. In doing so, Google would allow users who value software freedom to use Gmail in its enhanced form, and to make contributions and modifications useful to their communities."

Lee tells us the Foundation has not yet spoken to Google directly about the issue, but he said it intends to. Google did not immediately respond to our request for comment.

Google is among those who believe – or at least claim to believe – that all applications should eventually be moved to the web and built with standard web technologies, including JavaScript. This will only make things more difficult for the Foundation's crusade. But Lee is undaunted. "If more and more applications are going to be written in JavaScript," he says, "then it's important to make sure now that people know JavaScript should be released as free software." ®

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

What business do they have telling people what to do?`

I really don't understand this attitude. As a programmer, I feel that the author of a given piece of code should be able to determine what they want to do with it. What business does anyone else have telling people how to use their own code?

If Google want to release the code, that's great - I'm not against open source. However, no one should try to force others to release their code just because they have some political belief, it's absurd. Google invested considerable time and resources into writing that code, and if they want to keep it to themselves they should be well within their rights to do it.

What have the FSF invested in that code exactly? Nothing. Google is a business, they employ people who want paying and in order to do that they need to make money, if their business model means they can't/don't want to release the code, that's fine.

8
2

Closed-Source JS?

"That's right, it wants the code open sourced, but this being the Free Software Foundation, it prefers the term free software."

.

Why can't even writers for IT publications get the difference between "Open-Source" and "Free Software"? - it's clear as day.

Javascript, as far as this sort of thing is concerned, is interpreted on a client machine - the source code is staring you in the face! That doesn't make it free to use, free to modify, distribute and free from both patent encumbrance and proprietary taint.

.

Mild mocking of RMS et. al based on an erroneous postulate is a bit lame. You think promoting free software is a stupid idea?, fine - make your case on that instead.

8
3

Wouldn't the easiest solution

be to avoid GMail?

If you don't want non-free code (even if it is Javascript) running on your computer, then don't use those services that you know to use non-free code.

I'm a supporter of open source and FOSS, but I'm really not comfortable with the FSF getting on their high-horse and telling Google to open source their application code simply because an FSF zealot wants to use a Google service without experiencing a moral crisis.

5
1

More from The Register

SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry