I'm writing my first chrome extension. In my chrome extension I have added an option in Right Click Context menu.
chrome.contextMenus.create({
id: MyExntesion,
title: My Extension,
type: normal,
contexts: [image],
onclick: this.handleClick
});
In my handleClick method, I want to show a notification. This notification should pop out in top right corner of the browser window which just confirms that user has clicked on the context menu. How do I do that?
I did some research but didn't find anything useful. https://developer.chrome.com/extensions/notifications this talkes about system tray notification, where as this https://developer.chrome.com/extensions/browserAction#method-setPopup lets you create new popups but they are only shown when extension icon is clicked.