LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2008, 06:48 PM   #1
slsscoot
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Rep: Reputation: 15
How to install Javascript 1.5 in Firefox


I utilize a website that needs javascript 1.5 or later installed. My version of firefox has 1.4.

How can I update it? I'm not having much luck on my own.



Scooter
 
Old 03-28-2008, 09:38 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
What distribution and what version of firefox do you have?
 
Old 03-29-2008, 07:21 AM   #3
slsscoot
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13)

Firefox 2.0.0.13
 
Old 03-29-2008, 07:27 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't need to install anything for JavaScript. If you mean Java, then read the instructions for installing the JRE on Sun's website.
 
Old 03-30-2008, 06:23 AM   #5
slsscoot
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Original Poster
Rep: Reputation: 15
I need JavaScript 1.5 or higher in order to be able to use a website for school. When the site checks my browser's javascript version, it says I have 1.4 installed and I need 1.5, so I DO need to upgrade JavaScript and NOT java.
 
Old 03-30-2008, 08:31 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
javascript has been supported since firefox 1.5. It sounds rather dubious that you don't have it. Are you sure that js is enabled?

Last edited by jay73; 03-30-2008 at 08:37 AM.
 
Old 03-30-2008, 10:54 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
it says I have 1.4 installed and I need 1.5, so I DO need to upgrade JavaScript and NOT java.
OK, go here: http://www.java.com/en/download/linux_manual.jsp
Download the rpm, and follow the instructions (link is on the same page)
You are done!
 
Old 03-30-2008, 12:32 PM   #8
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
The guy is talking about the JavaScript version of Firefox, not Java.

JavaScript 1.4 I can hardly imagine, that would be years old.

Code:
<script language="Javascript1.4">
jsver = 1.4;
</script>
<script language="Javascript1.5">
jsver = 1.5;
</script>
<script language="Javascript1.6">
jsver = 1.6;
</script>
<script language="Javascript1.7">
jsver = 1.7;
</script>
<script type="text/javascript">
document.write('<p><b>Javascript version ' + jsver
+ ' supported<\/b><\/p>');
</script>
Drop this into a file, save it as whatever.html and open it in your Firefox and it should say 1.7 for all more or less recent versions of Firefox.

Firefox 3 will include JavaScript 1.8
 
Old 03-30-2008, 04:53 PM   #9
cdbunch
LQ Newbie
 
Registered: Mar 2008
Posts: 13

Rep: Reputation: 0
I think I know what your problem is. See the next post.
 
Old 03-30-2008, 04:54 PM   #10
cdbunch
LQ Newbie
 
Registered: Mar 2008
Posts: 13

Rep: Reputation: 0
Let me guess: You are trying to use WebTycho? Even if it is not WebTycho this info should help. The problem is not the version of JavaScript in your browser. The problem is the flakey code used by WebTycho to detect the version. Your browser already has 1.5 or higher which what is required. The following link will provide some details on taking care of it:

http://ubuntuforums.org/archive/index.php/t-220311.html

Note that this applies to Ubuntu, Fedora and possibly others. I had the problem with Fedora 8. If you replace your existing browser with the one downloaded directly from Firefox (the basic fix) you mau need to install the following RPM or equivalent package:

compat-libstdc++-33-3.2.3-47.3.i386.rpm

I hope this helps.
 
Old 04-01-2008, 10:40 AM   #11
slsscoot
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Original Poster
Rep: Reputation: 15
You are ABSOLUTELY correct....WebTycho.

I'll try your suggestions.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript and Firefox JonBL Linux - Newbie 4 11-17-2007 03:49 AM
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 12:58 PM
javascript in firefox jackdoll Fedora 1 11-19-2005 03:18 AM
firefox no javascript windows TranceDude Linux - Software 8 09-10-2005 04:23 AM
javascript for firefox? mohapi Fedora 4 06-20-2004 04:22 PM


All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration