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
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)
选择的解决方案
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.
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.
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.