Last active
October 28, 2024 22:14
-
-
Save GeoffreyPlitt/9a612f3294df628022f66afd8e35ebba to your computer and use it in GitHub Desktop.
Feedly Export Bookmarklet
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
javascript: navigator.clipboard.writeText( | |
Array.from(document.querySelectorAll("article")) | |
.map((entry) => { | |
const note = entry.querySelector("div > div > div:nth-child(2) > div:nth-child(3)").textContent; | |
return ( | |
entry.querySelector('a').href + | |
"\n" + | |
entry.querySelector('a').text + | |
"\n" + | |
(note ? note + "\n" : '') + | |
entry.querySelector('.EntryBestSummary__paragraph')?.textContent + | |
"\n\n" | |
); | |
}) | |
.join("\n") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment