Comments (2)
Hello there.
Could you tell me what OS and browser you are using?
From what I've been able to test, you might be having problems with the close()
function call. I'm using Arch Linux and I just tested your code under the latest versions of Chromium, Opera and Firefox. Chromium and Opera close the tab with no problems, but Firefox doesn't seem to respond. However, they all behave as expected if I replace close()
with something like console.log('escape attempt detected!')
, i.e. I don't need to click on the window for the keyboard events to respond.
I hope this helps. Let me know if there's anything else I can do for you. Cheers!
from kibo.
Closing due to inactivity.
from kibo.
Related Issues (13)
- Support Command key on OS X HOT 5
- Support a non-modifier HOT 2
- don't register an unload listener HOT 1
- kibo fails to hear 'h' press on window.document (Firefox) HOT 1
- Write tests HOT 1
- "ctrl z" listener is fired when "ctrl shift z" is pressed. HOT 4
- keys should be converted to strings
- combination keys HOT 1
- Copyright HOT 3
- Author has not yet seen Django Unchained HOT 1
- Unregistering 'any' key HOT 2
- Doesn't register punctuation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kibo.