ابحث في الدعم

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

Firefox doesn't recognize latest javascript

more options

I just installed the latest javascript, removed the old, restarted and firefox still doesn't "recognize the address" When I open Tools, Add-Ons, check to see if plug-ins are up-to-date, a message at the top says "Firefox has prevented the unsafe plug in Java Deployment Toolkit, but further down the page it shows thumbs up up to date.

I just installed the latest javascript, removed the old, restarted and firefox still doesn't "recognize the address" When I open Tools, Add-Ons, check to see if plug-ins are up-to-date, a message at the top says "Firefox has prevented the unsafe plug in Java Deployment Toolkit, but further down the page it shows thumbs up up to date.

Modified by NoahSUMO

All Replies (18)

more options
more options

If you use extensions (Firefox/Tools > Add-ons > Extensions) that can block content (e.g. Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that such extensions aren't blocking content.

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

cor-el

For extensions I do have Ad Block Plus and No Script which I find useful. Would you say deleting these is the only way to get javascript back? How valuable do you find those 2 extensions?

more options

Hi CS777, you probably have noticed the NoScript icon on the toolbar. If you see the red circle-slash symbol over the blue S, NoScript is blocking some or all scripts on the page. Use the button to approve the scripts you want to run and let the page reload. Usually you can figure out which ones are important on the first or second try, although in some cases it is not obvious and the list is flooded with advertising, tracking, sharing, and other servers that obscure the important ones. If you do not find that the benefits of using NoScript outweigh the burden of constantly approving sites, then it might not be the best extension for you.

more options

I'm not using them myself, but it is always possible that such extensions block wanted data. If you do use them then it is up to you to be aware that things can get blocked and if necessary allow specific objects on websites in the extension.

more options

Hi CS777, I see from your other post that disabling NoScript and Adblock Plus did not solve the problem.

After disabling extensions, you may need to exit and start Firefox up again to make sure that they are turned off. In that case, you would see a link for that purpose on the Add-ons page after clicking the Disable button.

Is there a particular site where you have this problem? Maybe it's a problem with the site or with a plugin the site wants to use? Please provide a link or get as specific as possible.

more options

Can you attach a screenshot?

  • Use a compressed image type like PNG or JPG to save the screenshot
  • Make sure that you do not exceed the maximum size of 1 MB
more options

These 2 are definitely disabled, I've restarted several times, it's not site-specific. It's random. When I want to go forward on page by using an arrow button, or a page number, or "Next", or drop down menu for loading the next page, I get blocked.

more options

My screenshot button isn't working

more options

From CS777

More info: My Firefox 30.0 Options, Content, doesn't show a button for Enable Javascript.

Also, going through "about:config does show Javascript as true.

And, after finishing an auto update for Java, Java's page says "Verify Java and Find Out of Date Versions Verify and Continue. When I click Verify and Continue, Firefox blocks me says it doesn't recognize the address and the address bar shows javascript:;

more options

In order to generate that error on Oracle's test page (https://www.java.com/en/download/installed.jsp), I need to switch a preference to a non-default setting. Try switching it back to its default value of false:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box that appears above the list, type or paste java and pause while the list is filtered

(3) Scroll down and double-click the network.protocol-handler.external.javascript preference to switch it from true back to the default of false. Then reload the test page and try again.

more options

Finally!----I got through to verifying Java. I tested another site I had trouble with this morning and it works. Hopefully, this will fix every occurrence.

So, why is it working now that that particular line is checked false? I notice on that page every other javascript line is either true or is numbered. How do you think the problem originated?

Thanks for your help and will keep the info for future reference.

more options

Do you actually need the Java plugin for any website as it is not used much anymore and is not needed for the separate JavaScript in Firefox to work.

more options

My problem was solved a few minutes ago (see above), but I'm not savvy enough to understand your question. I've never known how much I've ever needed Java. Seems like it's always been there and I've gone ahead with auto updates.

The JavaScript problem started a few months ago, have no idea what changed, so now I don't know if or how I can prevent this from happening again. Any ideas?

Also, my print screen button won't work. It's also the End button. It has worked in the past; again, don't know what changed.

Can you help me with this or should I start a new thread?

more options

Hi CS777, to answer your question about that preference, it relates to the protocol at the beginning of the link. For example, on the Java test page, the link was like this:

<a href="javascript:" onclick="some script to run">

(Normally, the value of the href attribute start with the http: or https: protocol, or sometimes ftp: or mms: for specialized applications.)

When you click a link that uses the javascript: protocol, and the network.protocol-handler.external.javascript preference is at its default value of false, Firefox first runs the script specified in the onclick attribute. If that doesn't leave the page or cancel further action by the link, Firefox then runs the script specified in the href attribute. This is all handled internally by Firefox.

However, when you set the preference to true, Firefox doesn't do anything itself and instead tries to open the link with an external program. Since Firefox isn't aware of any external program to handle javascript: protocol links, you get an error page.

more options

On Print Screen, yes, a new question is a good idea.

more options

I've never been to that page to set it to true. Something changed a few months ago. Any idea what it could be?

more options

It would take a long time to type out all the possible guesses and I'm not sure it would be very useful...

If it happens again, check for a user.js file containing a reference to that preference as described in this article: How to fix preferences that won't save. That wouldn't tell you who/what created the file, but it would explain how the change got injected.