action.setBadgeText()

Read More at MDN Docs

Safe to Use

action.setBadgeText() is not safe to use.

It’s supported by 32% of global browsers.

Browsers

ChromeJan 19, 2021v88.0.0
24%95%
There are no users of Chrome running a supported version.
SafariUnsupported
Safari does not support this feature.
EdgeJan 21, 2021v88.0.0
4%100%
There are no users of Edge running a supported version.
FirefoxMar 8, 2016v45.0.0
3%99%
There are no users of Firefox running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Jan 19, 2021 v88.0.0
24%95%
There are no users of Chrome running a supported version.
Jan 19, 2021 – Latest
v88.0.0+
24%95%

Full Support

Edge
Jan 21, 2021 v88.0.0
4%100%
There are no users of Edge running a supported version.
Jan 21, 2021 – Latest
v88.0.0+
4%100%

Full Support

Firefox
Mar 8, 2016 v45.0.0
3%99%
There are no users of Firefox running a supported version.
Mar 8, 2016 – Latest
v45.0.0+
3%99%

Full Support

Jan 23, 2018 – Latest
v58.0.0+

No Support, Feature Removed

Mar 8, 2016 – Jan 23, 2018
v45.0.0 – v58.0.0
0%2%

Full Support

Tab-specific badge text is not cleared when a new page is loaded.

Firefox for Android
May 31, 2022 v101.0.0
Firefox for Android supports this feature.
May 31, 2022 – Latest
v101.0.0+

Full Support

Opera
Feb 2, 2021 v74.0.0
1%56%
There are no users of Opera running a supported version.
Feb 2, 2021 – Latest
v74.0.0+
1%56%

Full Support

Safari
Unsupported
Safari does not support this feature.

No Support

Safari on iOS
Unsupported
Safari on iOS does not support this feature.

No Support

Contribute