12

I use Chrome 78.0.3904.97 on Windows 10.

There is a "History" menu option that lists previously visited pages. It shows the page title and the domain name, but not the full URL.

How can I view the full URLs, without actually clicking to visit each page?

3
  • See if this app works for you>>>>betanews.com/2017/03/06/…
    – Moab
    Commented Nov 10, 2019 at 17:09
  • I tried SterJo Chrome History program and it works with current version of Chrome.
    – Moab
    Commented Nov 10, 2019 at 17:12
  • Go to chrome://history/
    – DavidPostill
    Commented Nov 10, 2019 at 20:17

4 Answers 4

2

If you press Ctrl + H Chrome will open a tab that contains the Webpage title and the main URL of the website And if you right click on the link wich interessts you A bloc will pop up you ll dind Copy link adress Then just paste it in notepad or anywhere else and you ll obtain the full URL

1
  • 19
    It is not very convenient to click them one at a time -- I'm not sure why Chrome can't just display a list of URLs -- but it does work. Thanks.
    – equin0x80
    Commented Nov 13, 2019 at 9:51
1

This works on Chrome Desktop Version 104.0.5112.81 (Official Build) (64-bit):

[...document.querySelector("#history-app").shadowRoot.querySelector("#history").shadowRoot.querySelectorAll("history-item").entries()]
.map(_ => _[1].shadowRoot.querySelector("#link>div").style['background-image'])
.map(_ => decodeURIComponent(_.match(/page_url=(?<url>[^;]+?)&allow_google_server_fallback/).groups.url))
//.filter(_ => _.startsWith('https://SomeDomain.com/PathOfInterest'))
.forEach(_ => console.log(_))
4
  • Since its not an answer, maybe you should delete it to avoid downvotes Commented Aug 11, 2022 at 3:52
  • I was planning to revisit this topic soon with the real answer once I figured it out...which I just did.
    – CalvinDale
    Commented Aug 11, 2022 at 4:07
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Aug 11, 2022 at 5:08
  • 1
    Awesome. It is mindboggling how utterly useless the current history list in Chrome is. The query did not work today (version 121.0.6167.189), but needed an update which is simpler: Array.from(document.querySelector("#history-app").shadowRoot.querySelector("#history").shadowRoot.querySelectorAll("history-item")).map(_ => _.shadowRoot.querySelector('.website-link')).forEach(a => console.log(a.href)).
    – hlovdal
    Commented Mar 7 at 16:59
1

I was looking for the same solution so I can trim some type-ahead results from the omnibox. If you hover over the page icon for each result, you can see the full url and then act accordingly. In Chrome 116+ (and possibly before) you can view the history search results by "group", which DOES then show the full URL.

1
  • FYI, when you switch from "By date" to "By group" in the Chrome History tab, Chrome will "condense" the pages/URLs it displays. That is, it no longer displays the full history... it decides to toss out some items. Apparently URLs that only differ in their query string parameters will be "grouped" into a single URL. That's not helpful for my use case!
    – Martin_W
    Commented Oct 30, 2023 at 17:45
0

One-by-One Full URL Viewing:

Just hover over the title of the page you see in Chrome's history and look in the bottom left corner for the URL.

Bulk URL Viewing

Here is how to run the JavaScript snippet provided by hlovdal (in their response to CalvinDale's answer):

  1. Open Chrome History

  2. Open Developer Tools (right click > Inspect)

  3. Navigate to Console Tab

  4. Paste hlovdal's snippet (see below)

  5. You may have to type "allow pasting" if prompted, then paste the snippet again

  6. Execute the code (hit enter)

  7. The URLs will appear in the Developer Tools Console Window

Code Snippet:

Array.from(document.querySelector("#history-app").shadowRoot.querySelector("#history").shadowRoot.querySelectorAll("history-item")).map(_ => _.shadowRoot.querySelector('.website-link')).forEach(a => console.log(a.href))

I know this is super basic for the average reader here, but in case it can help somebody!

Tested on: Version 125.0.6422.142 (Official Build) (arm64) on macOS

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .