为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I copy a mouse-over URL?

  • 7 个回答
  • 1 人有此问题
  • 47 次查看
  • 最后回复者为 ThePowerTool

more options

When the URL displayed is different from the embedded URL and the URL I wish to use is the Display URL I would like a way to copy the DIsplay URL or click and access the Display URL rather than being forced to the embedded link URL. Can Firefox do this or if not is there an addon that will do this?

When the URL displayed is different from the embedded URL and the URL I wish to use is the Display URL I would like a way to copy the DIsplay URL or click and access the Display URL rather than being forced to the embedded link URL. Can Firefox do this or if not is there an addon that will do this?

由ThePowerTool于修改

被采纳的解决方案

This extension says it cleans Google links: https://addons.mozilla.org/firefox/addon/google-search-link-fix/

For some reason, I don't get redirection on Google links, possible due to one of my many Greasemonkey user scripts related to Google.

定位到答案原位置 👍 0

所有回复 (7)

more options

Do you mean the situation where the display text is like:

http://www.example.com/

but the actual link address is like:

http://we.track.your.clicks.com/?redirect=http://www.example.com/

I've always selected with my mouse, sometimes a bit loosely to avoid clicking the link and use Ctrl+c (or right-click > Copy) in that case. I don't know if there is a more efficient/elegant way to do it.

more options

You are close. When it's like that I do the same thing. This prompted me to do some additional research to better communicate my question. The link to which I'm referring, I think, is 1 step away from the display URL. It may be a mouse-over URL.

The problem I have is when the display text is:

Example Company

the actual link is:

http://we.track.your.clicks.com/?redirect=http://www.example.com/

And the URL displayed (upon mouse-over) at the bottom of the window:

http://www.example.com/

more options
more options

Hmm, the address that shows at the bottom of the window should usually match what you get if you right-click the link > Copy Link Location.

Some sites will modify the address when you "mouse down" on the link (this is how Google's exit tracking works), in which case you might end up copying the modified address instead of the one you intended to copy. In that situation it's challenging to extract out the original link once it's changed and you may need to reload the page and attack it differently.

One possibility is to use the Inspector. right-click something close to the link but not the link itself, and choose Inspect Element (Q). Firefox should open a panel in the lower part of the tab showing the HTML of the clicked element. You can select different parts of that area of the document in the Inspector until you find the link (<a> element) and copy the value of the href attribute (double-click it to select it).

That's definitely not convenient if you're planning to do it often. A bookmarklet or userscript might be handy in those cases. Is there a particular site where you have this issue where you want would a convenient solution?

more options

Redirect Remover is great! I'm going to click "yes" on that answer.

jscher2000, that's seems to be the only problem I have left--Google. I hate how my system churns on their bad links. Can you provide some hints on how to "attack it differently"? I'd really love it to work the way it used to--without those nasty URLs that cripple a system, bringing everything to a halt.

more options

选择的解决方案

This extension says it cleans Google links: https://addons.mozilla.org/firefox/addon/google-search-link-fix/

For some reason, I don't get redirection on Google links, possible due to one of my many Greasemonkey user scripts related to Google.

more options

YES YES YES YES YES! Now all my link problems appear to be solved.

Thank you, both, cor-el and jscherr2000. I will attempt to click oon "Solved the problem" by both appropriate answers (my concern being it may only allow one).