Comments (2)
Until this is resolved, I should update the readme to note that only the F key and fullscreen button are currently supported.
Edit: Done
from youtube-fast-fullscreen-toggle.
Escape and f11 are probably never going to be able to be used for this.
You can't override them because they are the panic buttons of fullscreen so to speak.
Only way to do this is to prevent the input and let it press f instead, this can't be done in javascript, one has to use something like AHK to achieve that functionality. Something that runs outside the browser and can capture inputs.
Or modify the code of the browser itself but that is also a stretch.
from youtube-fast-fullscreen-toggle.
Related Issues (10)
- Bug: F key interrupts typing search/comment
- F key does not trigger fast transition HOT 1
- Not working on Vivaldi HOT 4
- Handle double-clicking video HOT 2
- Release v2.3.0 HOT 1
- v2.3.1 CRX is slow to leave fullscreen
- Tampermonkey script won't trigger unless page is reloaded (in Vivaldi) HOT 9
- Scrollbar appears for a few seconds after entering fullscreen HOT 2
- Remove console.log in the production code
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 youtube-fast-fullscreen-toggle.