vxcwvxcw
Re:Computational survivalist
on Thursday October 10, 2019 @10:55AM (#21215193)
this works at least in chrome console (to get link urls, not emails)
[...($$('a'))].map(e => e.href)
Re:Computational survivalist
on Thursday October 10, 2019 @10:54AM (#21215183)
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 document.documentElement.innerHTML ?)