Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში. აქ არავინ უნდა მოგთხოვოთ ტელეფონზე დარეკვა, შეტყობინების გაგზავნა ან პირადი მონაცემების გაზიარება. რამე საეჭვოს შემჩნევისას გთხოვთ გვაცნობოთ „დარღვევის მოხსენებით“.

ვრცლად

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

  • 1 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 1 ნახვა
  • ბოლოს გამოეხმაურა Wesley Branton

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..

ყველა პასუხი (1)

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.