搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

The address wasn’t understood Firefox doesn’t know how to open this address, because one of the following protocols (javascipt) isn’t associated with any progr

  • 3 个回答
  • 1 人有此问题
  • 41 次查看
  • 最后回复者为 LarryMartell

more options

When I click on certain links in a web site I get the error 'The address wasn’t understood. Firefox doesn’t know how to open this address, because one of the following protocols (javascipt) isn’t associated with any program or is not allowed in this context. You might need to install other software to open this address.' This only occurs on some links that are of type javascript:void(0). It does not happen on every javascript:void(0) link, only some of them. I have googled and read and tried many solutions, but none have worked:

-checked settings and config -checked extensions and addons -removed prefs file -Refresh Firefox -looked for user.js file -burned sage

Anything else I can try?

When I click on certain links in a web site I get the error 'The address wasn’t understood. Firefox doesn’t know how to open this address, because one of the following protocols (javascipt) isn’t associated with any program or is not allowed in this context. You might need to install other software to open this address.' This only occurs on some links that are of type javascript:void(0). It does not happen on every javascript:void(0) link, only some of them. I have googled and read and tried many solutions, but none have worked: -checked settings and config -checked extensions and addons -removed prefs file -Refresh Firefox -looked for user.js file -burned sage Anything else I can try?

被采纳的解决方案

Firefox handles JavaScript itself, so that's a very odd message. Although if someone left out the r and typo'd

<a href="javascipt:void(0);" onclick="myScript();">

That could explain it.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

Firefox handles JavaScript itself, so that's a very odd message. Although if someone left out the r and typo'd

<a href="javascipt:void(0);" onclick="myScript();">

That could explain it.

more options

You can check this pref on the about:config page and make sure it is default (false) and not user set (bold).

  • network.protocol-handler.external.javascript = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Thanks. Great catch. It was a typo in the code. Fixed that and the issue is resolved. Funny that it did not cause a problem in Chrome.