Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Why does the URL I see when I hover over a link not match the URL I get when I "Copy link location".

  • 9 bhfreagra
  • 1 leis an bhfadhb seo
  • 594 views
  • Freagra is déanaí ó cor-el

more options

For example, any of the external links in the article below, when I hover over them I'm shown the URL for a "direct link" but if I right click the link and select "Copy link location" I'm given a tracking link with a redirect.

FWIW, this doesn't seem to happen in Chrome. Interestingly, it also doesn't happen if I go to the non-"amp" version of that page in Firefox.

https://nymag.com/intelligencer/amp/2019/08/poll-marijuana-legalization-data-for-progress-radical-ideas-popular-aoc.html

Thanks! - Sam

For example, any of the external links in the article below, when I hover over them I'm shown the URL for a "direct link" but if I right click the link and select "Copy link location" I'm given a tracking link with a redirect. FWIW, this doesn't seem to happen in Chrome. Interestingly, it also doesn't happen if I go to the non-"amp" version of that page in Firefox. https://nymag.com/intelligencer/amp/2019/08/poll-marijuana-legalization-data-for-progress-radical-ideas-popular-aoc.html Thanks! - Sam

Réiteach roghnaithe

There is usually some JavaScript modifying the link when you (left or right) click the link. If you only hove then you see a default link. When you click the link to an external page then the link is modified to show a message that you will move away. Google for instance also does this and modifies the link to send it to check the link in its safe browsing component. In this case I'm not seeing anything unusual happening, so something else might be wrong.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

Firefox shows the shield icon at the left end of the location/address bar in case Content Blocking is blocking content.

  • click the shield icon for more details and possibly disable the protection

You can check the Web Console about what content is blocked

Read this answer in context 👍 0

All Replies (9)

more options

Links can be set up just as links, or with describers.

Mozilla.org is just a link.

Here you see the describer, but not the link unless you hold the mouse over the describer.

Mozilla.com Here you see Mozilla, but the link goes to Bing.

Edited for corrections

Athraithe ag FredMcD ar

more options

Right, i understand that. What I'm talking about is the URL I see in the bottom left when I hover over the link. It doesn't match the URL I get when I right click the link and select "Copy link location".

The first link in the body of the article I linked has a describer of "nuanced positions". The link I see when I hover is a direct URL to a page on "www.vox.com" but when I "Copy link location" its a redirect tracker link that ends up in my clipboard.

more options

Where is this? What webpage and what link?

more options
more options

FredMcD said

What webpage and what link?
more options

Réiteach Roghnaithe

There is usually some JavaScript modifying the link when you (left or right) click the link. If you only hove then you see a default link. When you click the link to an external page then the link is modified to show a message that you will move away. Google for instance also does this and modifies the link to send it to check the link in its safe browsing component. In this case I'm not seeing anything unusual happening, so something else might be wrong.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

Firefox shows the shield icon at the left end of the location/address bar in case Content Blocking is blocking content.

  • click the shield icon for more details and possibly disable the protection

You can check the Web Console about what content is blocked

more options
more options

https://play.google.com/store/account/subscriptions Takes me to that webpage.

I have not signed in to that site. Can that be the problem?

Also, you might have something re-directing the link.


Start Firefox in Safe Mode {web link}

A small dialog should appear. Click Start In Safe Mode (not Refresh). Is the problem still there?


You may have ad/mal-ware. Further information can be found in this article; https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware?cache=no

Run most or all of the listed malware scanners. Each works differently. If one program misses something, another may pick it up.

more options

There is a JavaScript onclick handler attached to the link as you can see in the Inspector, but that shouldn't matter.