Reputation: 22283
I'm curious if I can update the tooltip for my Chrome Extension from JS while the app is already running?
Or, what is set up in the manifest.json file in the description
parameter, or the one that's displayed at mouse-over event over my app's icon:
PS. That is not my actual app.
Upvotes: 1
Views: 1364
Reputation: 77541
Read the docs for browserAction
API:
chrome.browserAction.setTitle(object details)
Sets the title of the browser action. This shows up in the tooltip.
Invocation:
chrome.browserAction.setTitle({title: "My New Title"});
You can optionally limit this update to a particular tabId
.
P.S. In the manifest, this is normally set by browser_action.default_title
.
Upvotes: 7