matthewcford / Workable Keyboard Shortcut

// ==UserScript==
// @name         Workable Keyboard Shortcut
// @namespace    https://bitzesty.com/
// @homepage     https://bitzesty.com/
// @version      4.2
// @description  press alt+d to disqualify a candidate, alt+n to move to next stage
// @author       Bit Zesty
// @match        *://*.workable.com/*
// @require      https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js
// @require      https://craig.global.ssl.fastly.net/js/mousetrap/mousetrap.min.js?a4098
// @grant        none
// @license MIT
// ==/UserScript==

$(document).ready(function () {
  Mousetrap.bind('alt+d',
    function () {
      var link = $(".js-disqualify");
      link[0].click();
    }
  );
  Mousetrap.bind('alt+n',
    function () {
      var link = $(".js-screen-to-next");
      link[0].click();
    }
  );
});