Sitelet https://github.com/denoland/deno/issues/24117
Skip to content

Add navigator.platform #24117

Description

@kt3k

navigator.platform is available in many runtimes such as: Browsers, Node.js (>=v21, experimental), and Bun. If this is available in Deno, platform detection can be very easily done in a cross-runtime way.

Activity

  1. kt3k commented on Jun 6, 2024

    @kt3k
    ContributorAuthor
  2. iuioiua commented on Jun 6, 2024

    @iuioiua
    Contributor

    I think we should do this, even though it's deprecated (documentation).

  3. added
    webrelated to Web APIs
    suggestionsuggestions for new features (yet to be agreed)
    on Jun 7, 2024
  4. sigmaSd commented on Sep 9, 2025

    @sigmaSd
    Contributor

    Its needed for pdfjs to work

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

    suggestionsuggestions for new features (yet to be agreed)webrelated to Web APIs

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions