-
-
Save ah06/ce85b03d5830285b22d993559a8451b2 to your computer and use it in GitHub Desktop.
Reminder of how to export bookmarks from Chrome as text.
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
| /* | |
| Export bookmarks from Chrome as text. | |
| Go to Bookmarks Manager->Organize->Export to HTML file. | |
| Then open that file, open console and run this command: | |
| */ | |
| [].map.call(document.querySelectorAll("dt a"), function(a) { | |
| return a.textContent + " - " + a.href | |
| }).join("\n"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment