browserAction.setIcon()
Read More at MDN DocsSafe to Use
browserAction.setIcon()
is not safe to use.
It’s supported by 54% of global browsers.
Browsers
ChromeDec 11, 2008v1.0.0
26%╱100%
100% of Chrome users are running a supported version.
SafariSep 16, 2020v14.0.05%╱93%
There are no users of Safari running a supported version.
EdgeAug 2, 2016v14.0.05%╱100%
100% of Edge users are running a supported version.
FirefoxMar 8, 2016v45.0.03%╱100%
100% of Firefox users are running a supported version.
Version Breakdown
Support
Adoption
Chrome
Dec 11, 2008 v1.0.0
26%╱100%
100% of Chrome users are running a supported version.
Dec 11, 2008 – Latest
v1.0.0+
26%╱100%
Full Support
Before Chrome 23, path
couldn't specify multiple icon files, but had to be a string specifying a single icon path.
Edge
Aug 2, 2016 v14.0.0
5%╱100%
100% of Edge users are running a supported version.
Aug 2, 2016 – Latest
v14.0.0+
5%╱100%
Full Support
This call is not persisted.
The imageData
parameter is not accepted.
The path
parameter is required.
Firefox
Mar 8, 2016 v45.0.0
3%╱100%
100% of Firefox users are running a supported version.
Mar 8, 2016 – Latest
v45.0.0+
3%╱100%
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 icons are not cleared when a new page is loaded.
Firefox for Android
Jul 28, 2020 v79.0.0
Firefox for Android supports this feature.
Jul 28, 2020 – Latest
v79.0.0+
Full Support
Opera
Jul 2, 2013 v15.0.0
1%╱100%
100% of Opera users are running a supported version.
Jul 2, 2013 – Latest
v15.0.0+
1%╱100%
Full Support
Safari
Sep 16, 2020 v14.0.0
5%╱93%
There are no users of Safari running a supported version.
Sep 16, 2020 – Latest
v14.0.0+
5%╱93%
Full Support
Safari on iOS
Sep 20, 2021 v15.0.0
15%╱93%
There are no users of Safari on iOS running a supported version.
Sep 20, 2021 – Latest
v15.0.0+
15%╱93%
Full Support