Tab Count Icon 的评价
Tab Count Icon 作者: lllusion3418
3 条评价
- 评分 2 / 5来自 jagman,6 年前In performance I would have rated this add-on a 10 stars, BUT, I HAVE TRIED SEVERAL TIMES, WASTED LOTS OF TIME in its "display". It is confusing and I can not get it to work [displaying the the count tab only ONE WAY.] WHITE NUMBER, NO BACKGROUND. All I get is a WHITE number when the options appear to be able to do more to make the count more visible. It is the fastest, most accurate, but the COUNT is not as visible as it could be IF IT performed as it seems it should.
开发者回应
发布于 6 年前You can open a issue on github if you want to, but from what you've written here:
If you're using icon mode: white text and transparent background seem to work for me
If you're using badge mode: this mode was more of an afterthought - there seem to be better addons out there for this case. No badge background isn't possible (though I could implement a transparent icon underneath) - the API only allows opaque colors. Setting the badge text color separately has also only been supported since Firefox 63
maybe you could clarify what exactly you're trying to do which isn't working - 评分 2 / 5来自 nd4spd,7 年前Flickers on tab-change and new tab. Font parameter instructions are confusing and unclear.
开发者回应
发布于 7 年前A pretty font selection GUI doesn't seem to be possible, so I decided to just let the user specify the exact value, since it's just a CSS `font` property (except for the size part, which my addon has to set automatically).
I personally use `"fira sans", sans-serif`.
As for the flickering: It does go away if you use the 'Global' option, which would make it so that the number is the total tab count for all windows. If you don't want that there isn't any other way I know of to solve this. It bothers me to, but what can you do, it's an API restriction. But maybe I should just make 'Global' the default.
update: since firefox 62 the flickering should be gone because of the new windowId parameter for browserAction.setIcon()