Add a shortcut to open a new tab

This commit is contained in:
Florian Mounier
2015-10-12 17:50:21 +02:00
parent 7b5a4ee244
commit 71820849eb
5 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
document.addEventListener 'keydown', (e) ->
return true unless e.altKey and e.keyCode is 79
open(location.href)
cancel e