Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts

Friday, April 3, 2009

Enabling JavaScript and Cookies in Firefox, Konqueror and Opera under Ubuntu Intrepid

Moodle Review No. 2 Part 1: Enabling Javascript and Cookies in Browsers (Firefox)

Cookies

What are cookies? They're parcels of text sent back and forth between your browser and the server you are accessing. Usually used for authentication and other user information needed by the server.

A Moodle server may send you two types of cookies.

  • MoodleSession - essential, necessary to maintain login from page to page. It is destroyed when you log out or close the browser.
  • MOODLEID - not essential, safe to refuse, just for convenience. It remembers your username within the browser. When you return to the page, the username in the login page will be filled.

JavaScript

What is JavaScript? It's a usually a small computer program embedded in the html web page that you access. It makes your web page more interactive like allowing floating clocks on your web page. It can make your web page behave like a local application. Without it, the html usually is static and all you can do is read it. JavaScript adds fun in your browsing experience.

Why is it needed in moodle? For interactivity and functionality. It is also required in certain modules like when you display a secure window in quizzes, or use a timer.

Enabling JavaScript and Cookies in Browsers

JavaScript and Cookies are usually enabled by default in browsers for Ubuntu Intrepid. Firefox and Konqueror are "free software" and are distributed by Ubuntu, but Opera is not.

Firefox 3.0.7

To turn on JavaScript go to the menu->edit->preferences. The Firefox preferences dialog box will pop-up.




Click content->check Enable JavaScript.



To accept cookies click Privacy and under Cookies check Accept cookies from sites.



Here's a screenshot of the entire process:

Thursday, April 2, 2009

Comparison of look and feel of Moodle 1.9+ in the browsers Firefox, Konqueror and Opera

Moodle Environment Review No. 1: Browsers

I have compared the look of the current stable Moodle 1.9+ in the browsers Firefox, Konqueror and Opera running in Ubuntu Intrepid. The installation is set to the default theme.

Site Frontpage


Fig. 1: Moodle site front page in Firefox 3.0.7


Fig. 2: Moodle site front page in Konqueror 4.1.2


Fig. 3: Moodle site front page in Opera 9.5

Course Page


Fig 4: Course front page in Firefox


Fig. 5: Course front page in Konqueror



Fig. 6: Course front page in Opera

I don't see much difference. Perhaps if they were running under a different operating system with different default fonts, the difference in look will be more pronounced.

What we don't see is the difference in behavior due to JavaScript support. JS is supposed to be a cross platform scripting language but each browser implements the script differently at times and causes certain scripts in Moodle not to work in certain browsers especially when AJAX is turned on. Next post will review enabling of JS and cookies in the three browsers.

You can install Firefox and Konqueror in Ubuntu by using synaptic or opening a terminal and typing:
apt-get install firefox konqueror
For Opera, get the .deb file here: http://www.opera.com/download/?custom=yes. Install with Gdebi or go to the folder where you have the deb file and type:

sudo dpkg -i opera_9.64.2480.gcc4.qt3_amd64.deb

The latest is version 9.64 opera_9.64.2480.gcc4.qt3_amd64.deb but I have yet to install this version. Replace the filename of the deb file with what you have. Remember that Opera is not a "free software". It is copyrighted by Opera Software ASA so read the license for terms of use.
 
Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.