#finaloutput
This version uses a function to look for the parent element that is an HTML paragraph developer.mozilla.org/en-US/docs/W... and outputs the links as one per paragraph. Code that can be copy pasted is in the alt text of image - see also start of thread here re: console bsky.app/profile/rain...
March 31, 2025 at 1:39 AM Everybody can reply
1 quotes
4) adds to the finaloutput a line that has an anchor element (using each link's href property - website address - and innerText property, the visible text) and then appends any text that should be after it on same line. Builds it up in a template literal developer.mozilla.org/en-US/docs/W...
Template literals (Template strings) - JavaScript | MDN
Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.
developer.mozilla.org
March 31, 2025 at 1:07 AM Everybody can reply
Thinking about how to export links without the cruft:
if happy using a browser console (e.g. developer.chrome.com/docs/devtool... or firefox-source-docs.mozilla.org/devtools-user/ ) then the code before the capitalised COPY in alt text might do it.
Console will warn re: pasting so will explain code.
March 31, 2025 at 1:07 AM Everybody can reply
1 quotes 1 likes