Skip to content

Instantly share code, notes, and snippets.

@bpartridge
Last active May 15, 2019 19:13
Show Gist options
  • Save bpartridge/9e1b4f7be621ad9c761eea5541684c97 to your computer and use it in GitHub Desktop.
Save bpartridge/9e1b4f7be621ad9c761eea5541684c97 to your computer and use it in GitHub Desktop.
Clubhouse.io Userscript
$(function() {
$('<style>').text(`
/* HIDE STORY IDS */
.story-badges .story-id .badge-text {
font-size: 0 !important;
width: 0;
line-height: 0;
margin-left: -1px;
margin-right: -3px;
}
`).appendTo('head');
$(document).on('keydown', function(e) {
if (e.metaKey || e.ctrlKey) {
if (e.which == 69) { // CMD-E
$('.editable-attribute.story-epic').click();
} else if (e.which == 74) { // CMD-J
$('.editable-attribute.story-project').click();
}
}
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment