Created
August 15, 2019 11:15
-
-
Save EmilStenstrom/5097c25685e04e1f4a2f9a0bdd9c0a3a to your computer and use it in GitHub Desktop.
Revisions
-
EmilStenstrom created this gist
Aug 15, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ var s = []; jQuery(".list:has(.list-header-name[aria-label='Kundo Knowledge'])").each(function() { s.push("\n## " + jQuery(this).find(".list-header-name")[0].value + "\n"); jQuery(this).find(".list-card-title").each(function() { s.push('• ' + this.innerText + ': https://trello.com' + jQuery(this).parents(".list-card").attr("href")); }); }); console.log(s.join("\n"));