Skip to content

Instantly share code, notes, and snippets.

@rdkls
Last active December 16, 2015 12:18
Show Gist options
  • Save rdkls/5433089 to your computer and use it in GitHub Desktop.
Save rdkls/5433089 to your computer and use it in GitHub Desktop.
Tampermonkey script to show the number of cards in each Trello list Turns out it's already there, just need to set display = block
// ==UserScript==
// @name Trello Lists Show Num Cards
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @match https://trello.com/board/*
// @copyright 2012+, You
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js
// ==/UserScript==
setTimeout(function() {
$('.num-cards').each(function() { this.style.display='block'; })
}, 500
);
@bryan-ash
Copy link

It looks like they changed the class to '.list-header-num-cards hide js-num-cards', so I changed to

$('.list-header-num-cards').each(function() { $(this).removeClass('hide'); })

Other than that, this worked like a champ for me. Thank you for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment