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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -