Created
February 10, 2019 04:55
-
-
Save ssig33/78ba59e8ccf6d3a5495ad7ec6d0f9f05 to your computer and use it in GitHub Desktop.
irc
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
// ==UserScript== | |
// @name IRCCloud Jump | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.irccloud.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
$(window).keydown((e)=>{ | |
if(event.ctrlKey){ | |
if(e.keyCode === 89){ | |
document.querySelector('li.unread span.label').click() | |
return false; | |
} | |
} | |
}); | |
// Your code here... | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment