this works at least in chrome console (to get link urls, not emails) [...($$('a'))].map(e => e.href)
I came up with: document.documentElement.innerHTML.split('\n').forEach( (line) => line.includes('mailto:') ? console.log(line) : 0 ) But please push this further (is there a shorter way to say…
this works at least in chrome console (to get link urls, not emails) [...($$('a'))].map(e => e.href)
I came up with: document.documentElement.innerHTML.split('\n').forEach( (line) => line.includes('mailto:') ? console.log(line) : 0 ) But please push this further (is there a shorter way to say…