# Browser Action

_Untested in Manifest V3_

```js
await browser.action.setBadgeBackgroundColor({
  color: "#000000"
});

await browser.browserAction.setBadgeText({
  text: number.toString()
});
```

If badge text set to "", then the badge completely disappears regardless of teh badge color
