Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

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

can't find an answer to this javascript problem!

  • 3 replies
  • 2 have this problem
  • 6 views
  • Last reply by rhian

more options

Hi there I have always found Firefox great but i'm about to switch to google chrome because for the last month or more everytime i click on lots of links i need to visit, firefox says: 'Firefox doesn't know how to open this address, because the protocol (javascript) isn't associated with any program.' I try the same sites on google chrome and its fine. this happened ever since the last Java update. I have tried to go to the about:configure page and toggle the list from true to false , but it doesn't work - loads of them still keep coming up as false. I'd be really grateful is someone could tell me how to fix this or i will have to say bye to firefox which is really sad as it used to be great

Hi there I have always found Firefox great but i'm about to switch to google chrome because for the last month or more everytime i click on lots of links i need to visit, firefox says: 'Firefox doesn't know how to open this address, because the protocol (javascript) isn't associated with any program.' I try the same sites on google chrome and its fine. this happened ever since the last Java update. I have tried to go to the about:configure page and toggle the list from true to false , but it doesn't work - loads of them still keep coming up as false. I'd be really grateful is someone could tell me how to fix this or i will have to say bye to firefox which is really sad as it used to be great

Chosen solution

According to a suggestion in another thread, you may want to try the following to return certain JavaScript settings to their defaults.

(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 filter box, type or paste javasc and pause while the list is filtered

(3) If the line with network.protocol-handler.external.javascript is bold (or shows user set true), double-click it to return its value to the default setting of false. This should get rid of that error.

(4) If the line with javascript.enabled is bold (or shows user set false), double-click it to return its value to the default setting of true.


Another thing to do would be to see if you have a user.js file active in your Profile Folder. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

You can delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release. You can get to the profile folder below:

  • Help > Troubleshooting Information > Profile Directory > Show Folder

or

  • Go to about:support and click Show Folder next to Profile Directory.
Read this answer in context 👍 2

All Replies (3)

more options

sorry i meant toggle the list from false to true!

more options

Chosen Solution

According to a suggestion in another thread, you may want to try the following to return certain JavaScript settings to their defaults.

(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 filter box, type or paste javasc and pause while the list is filtered

(3) If the line with network.protocol-handler.external.javascript is bold (or shows user set true), double-click it to return its value to the default setting of false. This should get rid of that error.

(4) If the line with javascript.enabled is bold (or shows user set false), double-click it to return its value to the default setting of true.


Another thing to do would be to see if you have a user.js file active in your Profile Folder. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

You can delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release. You can get to the profile folder below:

  • Help > Troubleshooting Information > Profile Directory > Show Folder

or

  • Go to about:support and click Show Folder next to Profile Directory.
more options

Dear Moses (not often you write that) thank you very much for your reply above. I tried what you said and so far the problem hasn't come back so i hope it has worked, thank you so much again!