Skip to content

Instantly share code, notes, and snippets.

@arandomic
Created March 15, 2017 15:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arandomic/dedb746087e6f4a17a010bce901658e6 to your computer and use it in GitHub Desktop.
Save arandomic/dedb746087e6f4a17a010bce901658e6 to your computer and use it in GitHub Desktop.
Copy cards from list "my awesome list name" to clipboard
copy($($(".list").filter((id, list)=> {
if($(list).find(".list-header-name").text().includes("my awesome list name")) return true; return false; }
)[0]).find(".list-card-title").map((id,element)=> {
return $(element).clone().find("span"||">*").remove().end().text();}
).get().join("\n"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment