# Push on JavaScript

DevFeed: [Push on JavaScript](<https://devfeed.tech/articles/push-on-javascript-19456.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/push-on-javascript/>)

Author: Shai Almog

Published: 2017-02-20T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [push-notification](<https://devfeed.tech/topics/push-notification.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Web](<https://devfeed.tech/topics/web.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [browser](<https://devfeed.tech/tags/browser.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [ios](<https://devfeed.tech/tags/ios.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [push-notification](<https://devfeed.tech/tags/push-notification.md>), [update](<https://devfeed.tech/tags/update.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

Codename One is adding push notification support to its JavaScript port for the web. The initial support covers Firefox, Chrome, Opera, and Chrome for Android, while Safari is not supported.

## Source excerpt

Up until now push notification in Codename One only worked for Android & iOS devices. This is about to change this weekend when the JavaScript port should (almost) seamlessly start working with push! This is pretty cool as push to the web is a pain with every browser taking a somewhat different route but with Codename One this will "mostly" work. The JavaScript port will generate push keys that match the notation cn1-web.