This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Javascript settings in Firefox

  • 2 பதிலளிப்புகள்
  • 32 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by Machine_Silver

I am sure it is just my lack of knowledge, me doing something silly and/or missing the obvious, but I am a bit confused about Java and JavaScript.

Due to recent JavaScript exploits, I wanted to try run my browsers with it disabled. I realize that Java and JavaScript are two different things but firstly, I uninstalled Java via the control panel. After this the Java Plug-ins disappeared from Firefox. As I understand it, this now means my browsers will not run Java Applets.

So, then to JavaScripts. In Firefox, if I go to say www.vodafone.co.uk, the home page will not display correctly unless I tick the "Enable JavaScript" option.

My question is therefore, is the ability to run JavaScripts a built in feature of Firefox and totally unrelated to whether Java itself is installed on the PC? If this is so then also, how does this relate to Java versions, i.e. Java version 6 update 31, fixes the Flashback exploit but how does the JavaScript implementation in Firefox get updated or is this exploit only applicable to Java applets and not JavaScripts?

If someone could explain I would be most grateful.

Kind regards

I am sure it is just my lack of knowledge, me doing something silly and/or missing the obvious, but I am a bit confused about Java and JavaScript. Due to recent JavaScript exploits, I wanted to try run my browsers with it disabled. I realize that Java and JavaScript are two different things but firstly, I uninstalled Java via the control panel. After this the Java Plug-ins disappeared from Firefox. As I understand it, this now means my browsers will not run Java Applets. So, then to JavaScripts. In Firefox, if I go to say www.vodafone.co.uk, the home page will not display correctly unless I tick the "Enable JavaScript" option. My question is therefore, is the ability to run JavaScripts a built in feature of Firefox and totally unrelated to whether Java itself is installed on the PC? If this is so then also, how does this relate to Java versions, i.e. Java version 6 update 31, fixes the Flashback exploit but how does the JavaScript implementation in Firefox get updated or is this exploit only applicable to Java applets and not JavaScripts? If someone could explain I would be most grateful. Kind regards

Machine_Silver மூலமாக திருத்தப்பட்டது

All Replies (2)

Hello,

yes, Java and JavaScript settings and preferences for interactive web pages are two different things, really.

Java applets are small programs coded in the Java programming language, they're NOT part of Firefox and, if I recall correctly, Java applets *may* as well have access to your computer (you need to confirm it every time). JavaScript coded scripts run sandboxed, which means that they don't have access to anything outside the website. If they do, this is a security issue and should be fixed immediately.

To your questions:

Yes, JavaScript is unrelated to Java and JavaScript can run when no Java Runtime Environment is installed. JavaScript is part of Firefox. When Java gets updated, it fixes Java-related issues, like the exploit you mentioned above. JavaScript most likely doesn't have this exploit.

The JavaScript engine gets updated each time Firefox does. Thus, you should be running the latest version anyway.

I appreciate you taking the time to post this clear and informative reply.

Thanks very much.

Kind regards