2 karma · joined Oct 10, 2019 (7y ago) · 4 submissions
comment 7y ago · link · parent
[...($$('a'))].map(e => e.href)
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 ?)