Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

when press Ctrl+click link, address bar show :"javascript:goHorseRecord2('//www.hkjc.com/chinese', 'B177');" and nothing.

  • 1 resposta
  • 1 tem este problema
  • 1 exibição
  • Última resposta de Wesley Branton

more options

when press Ctrl+click a link, address bar show :"javascript:goHorseRecord2('//www.hkjc.com/chinese', 'B177');" and show nothing page..

when press Ctrl+click a link, address bar show :"javascript:goHorseRecord2('//www.hkjc.com/chinese', 'B177');" and show nothing page..

Todas as respostas (1)

more options

Do not Ctrl + Click on the link.

Obviously, the website that you are having issues with is using that link to run a piece of Javascript code instead of loading a page.

Basically, a website link code looks like this:

<a href="http://mozilla.org">This is a link</a>

However, if the developer wants to use that link to run a piece of code on the same page instead of using it to direct Firefox to a website. For example, making a link display an alert box when you click on the link would have the following code instead:

<a href="javascript:alert('Hi!')">This is a link</a>

It's not a great way to design a website, but there are a lot of pages out there that still use this method.

So when you Ctrl + Click on the link, Firefox is trying to open the website in a new tab or new window. Essentially, Firefox is taking the text in the href part of the code and pasting it into the address bar of a new tab.

Since what it's copying and pasting is not an actual website URL, Firefox won't be able to load anything and you will just get the blank page that you are likely getting now.

This is a technical explanation to just say that you cannot Ctrl + Click on that particular link because the company that made the website has made that link run a piece of code instead of load a website.

Hope this helps.