How to signal to the context menu that items have been added or removed from storage, so that the menu can be remade. Currently I am doing it by sending a message to the menu using chrome.runtime.sendMessage
How to get the input element where the context menu has been opened so that the value from the menu can be pasted there.
User should be able to paste copied content directly from the browser context menu
Useful links:
https://developer.chrome.com/docs/extensions/reference/api/contextMenus#type-CreateProperties
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items