Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always in fullscreen mode (open link) #2

Open
cdf0f3 opened this issue Dec 16, 2022 · 2 comments
Open

Always in fullscreen mode (open link) #2

cdf0f3 opened this issue Dec 16, 2022 · 2 comments

Comments

@cdf0f3
Copy link

cdf0f3 commented Dec 16, 2022

First thank you for the great extension you provided, I really love it. Is it possible to always stay in fullscreen mode? Currently open link will exit fullscreen mode.

@xieby1
Copy link
Owner

xieby1 commented Dec 28, 2022

Thank you first.
After some investigation, my answer is it's hard.

I would like refer to the answer from stack overflow Javascript request fullscreen is unreliable

requestFullscreen() can not be called automatically is because of security reasons (at least in Chrome). Therefore it can only be called by a user action such as:
...

@e-t-l
Copy link

e-t-l commented May 1, 2023

I'm not very JS savvy but would a user-generated event include something like mouseover? Something where any movement, scrolling, etc. would suffix to trigger fullscreen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants