Last active
May 15, 2019 19:13
-
-
Save bpartridge/9e1b4f7be621ad9c761eea5541684c97 to your computer and use it in GitHub Desktop.
Clubhouse.io Userscript
This file contains 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
$(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