bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

javascript cannot be enabled even after manual installation.




13 years ago
8 years ago


(Reporter: Bhavesh, Unassigned)


Firefox Tracking Flags

(Not tracked)




13 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Javascript does not work. I did automatic installation, as well as manual
installation. I installed every available version of j2sdk and made symbolic
link as directed in the steps of installation. But I continue to see no
javascript action in firefox. I then have to use Konqueror. I use Fedora Core 1,
2 and 3. This is the case with all 3 FCs. Please help.

Reproducible: Always

Steps to Reproduce:
1. Any page that has a javascript action, say a button which opens a dialog box,
can be found to fail to take any javascript action.

Actual Results:  
No dialog box opens. No action is taken for the javascript.

Expected Results:  
Should have opened a dialog box.

Comment 1

13 years ago
I have been having this problem since more than a year now. All of my friends in
my college campus are facing it too.
Do you mean Java, the plugin, or JavaScript, the scripting language?

Forgive me if I'm being too obvious, but have you checked the "Enable Java" and
"Enable JavaScript" check boxes at Edit->Preferences->Web Features?
Component: Plugin Finder Service → General
QA Contact: plugin.finder → general

Comment 3

13 years ago
Yes.. I have selected Edit->Preferences->Web features-> Enable Java, Enable

Even if there is a javascript written in the webpage that I download, say the
script is a button that when clicked, will throw up a dialog box(), my firefox
will not open the download box, it does not all the execution of the javascript.
The javascript button is as good as a static button with no functionality.

I hope this makes your doubt clear. Thanks Gavin.

Below is the function behind a 'login' button from a sample page. The login
button, when clicked, takes no action at all. Instead, it pops a dialog box
saying alert("Java is disabled.  Application may not run properly with this
setting.\nPlease change your Java permission."); Java is enabled through the web
features option, as mentioned above.

 And like I mentioned in my previous comments, this problem with javascript is
faced by most of my friends as well.

<script language="JavaScript">

 * This function performs the necessary initialization
 * when page is loaded.
function initLogin()
    // check if java is enabled so applets can run
    if (!navigator.javaEnabled())
        alert("Java is disabled.  Application may not run properly with this
setting.\nPlease change your Java permission.");

    // set focus to user input field


    // Clear login user name if it has not been set
    if (this.document.loginForm.username.value == "null")
        this.document.loginForm.username.value = "";

    this.document.loginForm.username.onkeypress = doSubmit;
    this.document.loginForm.pwd.onkeypress = doSubmit;
    //this.document.loginForm.auth.onkeypress = doSubmit;



Comment 4

8 years ago
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a1pre) Gecko/20100125 Minefield/3.7a1pre

javascript works for me here.

Please advise if this is still an issue for you with a recent Firefox version.
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.