Created
October 31, 2017 20:11
-
-
Save licensed/41e609e6b8f8cfe412d7a3dc30698066 to your computer and use it in GitHub Desktop.
Save chrome download list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#01: Open console Ctrl+Shift+J | |
#02: Past the code below | |
#03: Save the list | |
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'); | |
div.appendChild(el.shadowRoot.querySelector("#url")); | |
div.appendChild(br) | |
div.appendChild(hr) | |
}); | |
document.body.innerHTML="" | |
document.body.appendChild(div); | |
document.head.style.innerHTML="" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug fixed: truncated links
Only show the full links: