javascript - Google Chrome notifications don't show -


I want to send notification by Google Chrome extension Manifest

 " "Test", "description": "test", "version": "1.1", "background": {"scripts": ["background.js"]}, "permissions": ["tab" "Http: // * / *", "https: // * / *", "notifications"], "browser_profile": {"default_title": "test", "default_corean": "test_16x16 Png"}, "manifest_version ": 2}  

background.js

  chrome.browserAction.onClicked.addListener (function ():" Hello there ! "}," Message is a notification ", Message: (chrome.notifications.create ('name-for-notice', {type: 'basic', iconUrl: 'image.jpeg', title) function N () {});});]  

Why does not this work?


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -