Skip to content

Instantly share code, notes, and snippets.

@Fohlen
Created October 15, 2022 03:38
Show Gist options
  • Save Fohlen/71fe5421bb65b03a00bd174984c94a7f to your computer and use it in GitHub Desktop.
Save Fohlen/71fe5421bb65b03a00bd174984c94a7f to your computer and use it in GitHub Desktop.
Reddit Comments Archive
$$('.file').filter((tr) => tr.childNodes[1].innerText.startsWith("RC_")).map((tr) => parseInt(tr.childNodes[5].innerText.replaceAll(",", ""))).reduce((a, b) => a + b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment