Created
January 8, 2019 17:55
-
-
Save korzio/3a1735b0e5c8db65d2f5f2c2940b7c1c to your computer and use it in GitHub Desktop.
copy chrome bookmarks as links to markdown
This file contains 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
// select #list in DevTools | |
// execute in console | |
copy([...$0.children].filter(a => a.tagName.toLowerCase() === 'bookmarks-item').map(a => `[${a.$['website-title'].innerText}](${a.$['website-url'].innerText})`).join('')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment