Skip to content

Disable screensaver in online epub reader #3448

@twouters

Description

@twouters

Every now and then my screensaver activates while reading books on high resolution display, or small font settings, or books in foreign languages (or maybe just being a slow reader.)

It should be possible to prevent this by using the Screen Wake Lock API.

I could extend my screensaver timeout before reading books, or read faster.

Suggestion:

Add a checkbox in the epub reader settings to activate Wake Lock while reading, which activates wake lock and reactivates wake lock when visibility returns (switched back from another tab / window restored from being minimized.)
The checkbox should be disabled (not unchecked) when the reader isn't used in a secure context (HTTPS).

Wake Lock demo page: https://googlechrome.github.io/samples/wakelock/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions