• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. Navigator (Firefox OS extensions)
  6. Navigator.push

Navigator.push

In This Article
  1. Summary
  2. Syntax
  3. Value
  4. Specifications
  5. Browser Compatibility
  6. See also

Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

Summary

The Navigator.push read-only property is a PushManager object providing a way to receive notifications from third party servers. These are real-time notifications provided by external services directly to installed apps. This implements the SimplePush API that does not require sending real data on those notifications. Also, you can see this documentation for additional details, a guide to using the API, and sample code.

Syntax

var push = window.navigator.push;

Value

navigator.push is a PushManager object.

Specifications

Specification Status Comment
Push API
The definition of 'Navigator.push' in that specification.
Working Draft Initial definition

Browser Compatibility

  • Desktop
  • Mobile
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 42.0 (Yes) ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support No support (Yes) (Yes) ? ? ? 42.0

See also

  • PushManager
  • pushJSLibrary, a push shim for browsers that do not implement the API

Document Tags and Contributors

Tags: 
  • API
  • Firefox OS
  • NeedsBrowserCompatibility
  • Non-standard
  • Property
  • Push Manager API
  • Read-only
  • Reference
  • Référence
  • Simple Push API
 Contributors to this page: chrisdavidmills, Sebastianz, teoli, mnoorenberghe, kscarfone, Willyaranda
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:49:45 AM
See also
  1. Push API
  2. Archive
  3. Events
    1. push
    2. pushsubscriptionchange
  4. Related pages for Push API
    1. PushEvent
    2. PushManager
    3. PushMessageData
    4. PushSubscription
    5. ServiceWorkerGlobalScope.onpush
    6. ServiceWorkerRegistration.pushManager