Some of the downloads fail sometime and I want to take all the links from Chrome Download list to a download manager.

If I save the chrome://downloads page I get an empty html file.

Is there a way that I can export all the downloads' links from Google Chrome Downloads page (you can access it by hitting Ctrl+J)?

1 Answer 1


I searched the web and Chrome Web Store unfortunately there are no extensions to do that.

Only when I tried to make a script I discovered that the things are not that straightforward because there are a lot of nested shadow DOM elements, nevertheless I managed to write it.

Below is the code you need to paste in console(Ctrl+Shift+J) to get all the links.

ditems = document.querySelector("downloads-manager").shadowRoot.querySelector("iron-list").querySelectorAll("downloads-item");

var div = document.createElement('div');

[].forEach.call(ditems, function (el) {
var br = document.createElement('br');
var hr = document.createElement('hr');


After this you can save the resulting page with Ctrl+S.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.