Feeds

FSF to Google: Free Gmail's JavaScript now!

Enslaved browser code sullies world's machines

Securing Web Applications Made Simple and Scalable

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." ®

Bridging the IT gap between rising business demands and ageing tools

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.