搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to track URLs that are not in the "History", but were actually visited by the browser?

  • 8 回覆
  • 1 有這個問題
  • 39 次檢視
  • 最近回覆由 Boyko

more options

I open a web page mith multiple links that appear the same: www.someurl.com/somepage.sd# When I click on a links, the section of web page is expanded and more information is shown. the web page contains JavaScript. So, I want to track the actual URLs that browser visits.

I open a web page mith multiple links that appear the same: www.someurl.com/somepage.sd# When I click on a links, the section of web page is expanded and more information is shown. the web page contains JavaScript. So, I want to track the actual URLs that browser visits.

被選擇的解決方法

That data is retrieved via an XMLHttpRequest to rebuild part of the page and the URL on the location bar stays the same.

You can see that in the Web Console (Web Developer > Web Console;Ctrl+Shift+K) as a POST and GET action.

You won't see a history entry in such cases because you aren't actually visiting that web page.
That data is merely used by JavaScript to update the current page content.

從原來的回覆中察看解決方案 👍 1

所有回覆 (8)

more options

Such links have an onclick event attached that do the actual action.
What you see when you hover such a JavaScript link is only some placeholder.
I don't think there is a way to resolve such links in most cases.

more options

Well, I don't need to see the actual link in real time. It'd OK to retrieve the URL after it is visited.

由 Boyko 於 修改

more options

If you've visited such a JavaScript link then you should see it in the location bar and the site should show up in the history.

Did you try to sort the history in the sidebar "By Last Visited" (Ctrl+H)?

more options

Nope. Only the page that contains the link. I'll try to download some data if possible and no login is required. But clicking on each link would be enormous task.

more options

Such links about files that you've downloaded should still show in the History Manager (Library) and in the history sidebar if you use the search bar to limit the results.

more options

Maybe I'm missing something. Here is the site: http://www.soccerbase.com/results/home.sd The links are "circled i" in light green color. In the status bar all they appear as http://www.soccerbase.com/results/home.sd#

more options

選擇的解決方法

That data is retrieved via an XMLHttpRequest to rebuild part of the page and the URL on the location bar stays the same.

You can see that in the Web Console (Web Developer > Web Console;Ctrl+Shift+K) as a POST and GET action.

You won't see a history entry in such cases because you aren't actually visiting that web page.
That data is merely used by JavaScript to update the current page content.

more options

Thank you! This is what I needed.