Group: NoJavaScript/Gmail

From LibrePlanet
Jump to: navigation, search
m (Protected "Group:NoJavaScript/Gmail" ([edit=sysop] (indefinite)))
(No difference)

Revision as of 15:43, 25 March 2011

  • Problem: Gmail by default uses heavy amounts of nonfree JavaScript for its Gmail service.
  • Solution: Use Gmail without JavaScript, or access Gmail with a desktop mail client.

Getting a Gmail account

If you don't already have a Gmail account, there is no way at present to get one without using JavaScript. Google requires some JavaScript at present, possibly as a measure to combat fraudulent accounts being created for spam purposes, but consider Google also requires a telephone number (either for SMS or automated telephone call) to sign up, this seems unnecessary.

With that proviso, this is how signing up to Gmail went for me:

Preparations

For this demo, I'm using the latest version of Mozilla Firefox (version 4) and the latest release of NoScript, a plugin for Firefox and other browsers which allows you to disable JavaScript on websites you don't trust (websites with proprietary or nontrivial JavaScript).

With these installed, I went to http://www.gmail.com/

Creating a Gmail account

Gmail offers over 7 gigabytes of mail storage, and works well with free software. It's easy to see why so many people use it:

Gmail1.png

Clicking on the 'create an account' button, I'm presented with a form:

Gmail2.png

I already have a Gmail account -- mostly used for filling out nonsense forms on websites -- but for the purposes of this demonstration I went ahead and signed up for a new account.

  • There's a captcha image on this page, and some JavaScript is needed to advance beyond this page.
  • Once this page progressed, I had to give up my phone number for an SMS message to verify that I was a legitimate person in some form. For people without a cellphone, an automated voice call is also offered.

Setting Gmail to stop using JavaScript

Google has done much of the good work needed here, and should be commended for that effort. Google offers a basic HTML version of Gmail, which doesn't require JavaScript. To access this version, simply select "Basic HTML" at the bottom of any screen in your Gmail account.

Gmail3.png


Blocking Google's JavaScript for good

Once you're using "Basic HTML" mode, you can block all Google's JavaScript from running at all.

To do this, right click in the browser, and click on NoScript. From this menu, you can forbid JavaScript from the google.com domain.

Gmail4.png

I also wanted to make sure the "Basic HTML" version of Gmail was the default:

Gmail5.png

Using a desktop email client to read your Gmail account

Another way to access Gmail without JavaScript is to use a local email client on your computer. There's several dozen such programs out there. For my demonstration, I'm using Thunderbird.

First, you need to enable IMAP access to your email. IMAP, the Internet Message Access Protocol is used to let your computer keep a complete copy of all of your email locally, as well as keeping it on the server, in this case Gmail's server.

Enable IMAP, disable POP

To do this, pop open the settings for your account, and enable IMAP. To make things a little easier, you should probably also disable POP access, which is a different way to get your email that involves downloading all your email and removing it from the server.

Gmail6.png

Set up Thunderbird to access Gmail's IMAP server

Now we need to configure Thunderbird. Start by entering your name, email address and password:

Gmail7.png

Confirm account settings

Thunderbird makes this very easy for us, as it already knows which servers to use for Gmail accounts:

Gmail8.png

Voila!

And that's it! I can now send and receive emails from Gmail in Thunderbird or any other IMAP client!

Gmail9.png