LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 08: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, 06: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, 06: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, 05: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, 07:31 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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 07:37 AM.
 
Old 03-30-2008, 09:54 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 11:32 AM   #8
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
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, 03: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, 03: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, 09: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



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 02:49 AM
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 11:58 AM
javascript in firefox jackdoll Fedora 1 11-19-2005 02:18 AM
firefox no javascript windows TranceDude Linux - Software 8 09-10-2005 03:23 AM
javascript for firefox? mohapi Fedora 4 06-20-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 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
Open Source Consulting | Domain Registration