如何根据协议更改firefox地址栏的背景颜色?

时间:2015-05-12 21:24:38

标签: css firefox firefox-addon

我希望能够根据协议更改firefox中地址栏的背景颜色。我怎么能这样做?

e.g。当使用https时,bg-color:蓝色 混合内容警告:橙色 ev-certificate:绿色 证书无效:红色

1 个答案:

答案 0 :(得分:1)

This is how I did it long ago, in Firefox 7, looking at it now it has lots of problems, but it does the trick you need, should definitely improve on the code though:

ToolBar