Comments (7)
I cannot replicate that, hitting F11 hides everything on my copy of firefox. Your mouse isn't hiding at the top of the screen, keeping them active?
from 0x40-web.
ah thank you for the quick response, I have browser.fullscreen.autohide
set to false, which is the desired behaviour for me for all websites except yours (I like to have my tabs available when full screened on i3)
from 0x40-web.
Am I right in assuming the fullscreen API ignored browser.fullscreen.autohide
? Seems reasonable enough, just need to pick a key for it (I don't like the idea of overloading F11 with identical behaviour, feels like something that could break)
from 0x40-web.
Can confirm this lil snippet of code works in the console:
// define a handler
function doc_keyUp(e) {
// this would test for whichever key is 40 (down arrow) and the ctrl key at the same time
console.log(e.key)
if (e.key === 'J') {
// call your function to do the thing
document.body.requestFullscreen();
console.log('hi')
}
}
// register the handler
document.addEventListener('keyup', doc_keyUp, false);
It's a bit unintuitive since just running document.body.requestFullscreen()
from the console doesn't work because it's technically running on no user input
from 0x40-web.
Just to bump this issue - might be a week or 3. I've just moved and need to reassemble my dev machine.
from 0x40-web.
Thanks for the update! if you decide upon a sane keycode I could see what I could do to help ;-)
from 0x40-web.
Added as Alt+Enter, since that's commonly used for fullscreen and not actually taken by Chrome/Firefox already (yay!).
Will make a new release later, for now it's live on my site when cloudflare evicts the cache - give it 48 hours.
from 0x40-web.
Related Issues (20)
- Whiteout effect while inverted has glitchy bright frame during fade HOT 2
- Animation sometimes isn't correct when using an animaition with beatsPerAnim and a song without charsPerBeat HOT 1
- Is this a stream audio play? HOT 1
- volume parameter doesn't works on defaults object HOT 1
- Volume cuts out per-song after a while HOT 2
- Error: Audio Worker cannot be started - correct path set in defaults? HOT 4
- "mute" works incorrectly HOT 5
- Running and respacks HOT 14
- cdn.0x40.ga is down HOT 2
- Large repack does not load on Firefox/IE HOT 3
- First song can't be from querried packs. HOT 5
- 0x40 Christmas edition is insufficiently comfy HOT 8
- xmas.moe is missing an https redirect HOT 5
- please fix this please HOT 3
- Add support for the Opus codec? HOT 4
- Are the VFX generated only from the respacks? HOT 6
- UI/UX - Toggle window and select the right tab when clicking UI icons
- Local python hosting of hues has HTTP 204 no content for respacks HOT 7
- Remote respacks not loading 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 0x40-web.