Visitar URL original
how to disable esc and F11 key (when in fullscreen mode) to come out of fullscreen mode? · Issue #184 · whatwg/fullscreen · GitHub
Skip to content

how to disable esc and F11 key (when in fullscreen mode) to come out of fullscreen mode? #184

Open

Description

@ampsteric
No description provided.

Activity

  1. upsuper commented on Sep 6, 2020

    @upsuper
    Member

    I think browsers generally allow page to preventDefault on keypress of F11, so you can disable it via that. Escape key, however, is a security measure to stop page from trapping users in fullscreen mode, so it can't be disabled by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions