Skip to content

Instantly share code, notes, and snippets.

@caius
Created March 19, 2018 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caius/0a9b78c5e8d836364d8d5a0a064f8497 to your computer and use it in GitHub Desktop.
Save caius/0a9b78c5e8d836364d8d5a0a064f8497 to your computer and use it in GitHub Desktop.
// Paste in a browser console to randomise the titles of all trello cards
$(".list-card-title").each(function(i, e) {
e = $(e);
t = e.text();
s = "";
for (var i = t.length - 1; i >= 0; i--) {
if (t[i] == " ") {
s += " "
} else {
s += Math.random().toString(36).substring(5, 6);
}
};
e.text(s);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment