Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.