Advertisement
Guest User

Pushbullet.com Message Ctrl+Enter

a guest
Aug 22nd, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name        Pushbullet Message Ctrl+Enter
  3. // @include     https://www.pushbullet.com/
  4. // ==/UserScript==
  5.  
  6. $('#message').on('keyup', function(e) {
  7.     if(e.ctrlKey && e.keyCode == 13) {
  8.         $('button', this.form).click();
  9.     }
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement