यह पेज अभी हिन्दी में उपलब्ध नहीं है, इसलिए आप इसका अंग्रेज़ी संस्करण पढ़ रहे हैं।

Desktop integration: protocol handlers, launch handler, window controls overlay and more

The finishing touches that make a desktop web app feel at home.

क्षमताएँ और API उन्नत 1 मिनट में पढ़ें समीक्षा: 27 नव॰ 2026

Once installed on Windows, macOS, ChromeOS or Linux, Chromium-based browsers give PWAs several hooks into the desktop.

"protocol_handlers": [
  { "protocol": "web+jam", "url": "/open?link=%s" },
  { "protocol": "mailto", "url": "/compose?to=%s" }
]

Custom schemes must start with web+. A few safe-listed schemes such as mailto, magnet and irc are allowed too. Users approve the first launch.

Control how launches open: launch_handler

"launch_handler": { "client_mode": ["navigate-existing", "auto"] }
  • navigate-new: always a new window.
  • navigate-existing: reuse the most recent window and navigate it.
  • focus-existing: focus the existing window and pass the URL to launchQueue without navigating.

focus-existing is ideal for single-window apps like music players and editors.

Draw your own title bar: window controls overlay

Opt in with "display_override": ["window-controls-overlay"], then lay out your title bar using the titlebar-area-* environment variables. Code in display modes.

Other desktop touches

  • Shortcuts in the taskbar or Dock menu: richer install UI.
  • Badges on the icon: Badging API.
  • File handlers: files.
  • Run on OS login: users can turn this on from the app's settings in Chrome and Edge.
  • Edge side panel: "edge_side_panel": { "preferred_width": 480 } lets users pin your app in Edge's sidebar.
  • Tabbed mode: "display_override": ["tabbed"] (experimental) gives the app window its own tabs.

All of these are progressive: browsers that do not support them simply ignore the fields.

ब्राउज़र सपोर्ट

PWA फ़ीचर के लिए ब्राउज़र सपोर्ट
फ़ीचरChrome / Edge desktopChrome AndroidSafari iOS / iPadOSSafari macOSFirefox desktopFirefox AndroidSamsung Internet
Protocol handlers Chrome / Edge desktop: हाँ Chrome Android: नहीं Safari iOS / iPadOS: नहीं Safari macOS: नहीं Firefox desktop: नहीं Firefox Android: नहीं Samsung Internet: नहीं
Launch handler Chrome / Edge desktop: हाँ Chrome Android: अलग-अलग Safari iOS / iPadOS: नहीं Safari macOS: नहीं Firefox desktop: नहीं Firefox Android: नहीं Samsung Internet: नहीं
Window controls overlay Chrome / Edge desktop: हाँ Chrome Android: नहीं Safari iOS / iPadOS: नहीं Safari macOS: नहीं Firefox desktop: नहीं Firefox Android: नहीं Samsung Internet: नहीं

पूरी सपोर्ट तालिका देखें