document.addEventListener %28"keydown", function (zEvent%29 { if (zEvent.ctrlKey && zEvent.altKey && zEvent.key === "e") { // case sensitive // DO YOUR STUFF HERE } } );
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter