Skip to content

Instantly share code, notes, and snippets.

@onionmk2 onionmk2/a.js
Last active Dec 10, 2018

What would you like to do?
// paste this into web console
codes = $("code");
contents = Array.from(codes).map(i => i.textContent); //.filter(i => i.includes("@"));
uniqs = contents.filter((v, i, a) => a.indexOf(v) === i);
copy(uniqs.join('\n')); // save array to clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.