How can I add a context menu to a browser action with a Chrome extension? -
so i'm trying sort of "search google" context menu alternative there. view result of in browser extension. possible in way?
you asking whether it's possible add together own entry menu "search google" appears.
yes, possible.
the docs here: https://developer.chrome.com/extensions/contextmenus
there samples available.
i suggest putting logic in background page, since popup not persist , can't have listener event. then, popup should request info background page needed.
google-chrome-extension
No comments:
Post a Comment