Last active
August 29, 2015 13:56
-
-
Save 8bitDesigner/8852066 to your computer and use it in GitHub Desktop.
Copy the title and link of every selected TP card
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 characters
copy($('.tau-selected.tau-card-v2').map(function(i, el) { | |
return $(el).data('card-data') | |
}).toArray().sort(function(a, b) { | |
return (a.type === b.type) ? 0 : a.type > b.type | |
}).map(function(obj) { | |
return window.location.origin + '/entity/' + obj.id + ' -- ' + '[' + obj.type + '] ' + obj.name | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I use this?