為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Need a visual cue for Plugins status

more options

Need a visual cue for Plugins status:

. . . "Ask to activate" - these are in light grey - that's good

. . . "Always activate" - should be in light green

. . . "Never activate" - should be in light red - it currently goes to a slightly darker shade of grey

Be able to sort them based on status

The above would make it easier to verify that they're how you want

Need a visual cue for Plugins status: . . . "Ask to activate" - these are in light grey - that's good . . . "Always activate" - should be in light green . . . "Never activate" - should be in light red - it currently goes to a slightly darker shade of grey Be able to sort them based on status The above would make it easier to verify that they're how you want

被選擇的解決方法

There is only an active="true/false" tribute to work with, so you can't distinguish between always activate and ask to activate.

.addon-view[type="plugin"][active="false"]{box-shadow: inset 0pt 0pt 100px rgba(255,144,144,1.0)}
從原來的回覆中察看解決方案 👍 1

所有回覆 (6)

more options

You can try code like this in the userContent.css file.


/* about:addons */
@-moz-document url(about:addons){
.addon-control[label="Always Activate"]{box-shadow: inset 0pt 0pt 30px rgba(208,208,208,0.8)}
.addon-control[label="Ask to Activate"]{box-shadow: inset 0pt 0pt 30px rgba(153,255,51,0.8)}
.addon-control[label="Never Activate"]{box-shadow: inset 0pt 0pt 30px rgba(255,153,153,0.8)}
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

more options

I'm using FF 36.0.4

In read that in Win 8.1, the Default Profile is in this folder:

C:\Users\S-L-U-D-G-E\AppData\Roaming\Mozilla\Firefox\Profiles\3kalygq4.default-1391633366966

I create a Shortcut to this folder on my Desktop, for easy access.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This is the format of the code:

/* about:addons */ @-moz-document url(about:addons){ .addon-control[label="Always Activate"]{box-shadow: inset 0pt 0pt 30px rgba(208,208,208,0.8)} .addon-control[label="Ask to Activate"]{box-shadow: inset 0pt 0pt 30px rgba(153,255,51,0.8)} .addon-control[label="Never Activate"]{box-shadow: inset 0pt 0pt 30px rgba(255,153,153,0.8)} }

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Here is info on:

RGBA Colors . . . http://www.w3schools.com/cssref/css_colors_legal.asp

HTML Color Picker . . . http://www.w3schools.com/tags/ref_colorpicker.asp

I select:

Always - green . . . rgb(0,255,204) Ask - yellow . . . rgb(255,255,153) Never - red . . . rgb(255,51,0)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I update the above code to this, and make it 50% opacity:

/* about:addons */ @-moz-document url(about:addons){ .addon-control[label="Always Activate"]{box-shadow: inset 0pt 0pt 30px rgba(0,255,204,0.5)} .addon-control[label="Ask to Activate"]{box-shadow: inset 0pt 0pt 30px rgba(255,255,153,0.5)} .addon-control[label="Never Activate"]{box-shadow: inset 0pt 0pt 30px rgba(255,51,0,0.5)} }

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I put the code in this file: userContent.css

I put "userContent.css" in the above, Default Profile folder

I close, and re-open FF

I go to: about:addons

. . . and there is no change, they're all still grey

Do I have it in the wrong Profile folder?

more options

Not directly in the Profile folder.

You need to create a chrome folder in the Profile folder and then put your userContent.css file in that new chrome folder.

And make sure that whatever you used to create that file didn't add a .txt suffix - as like userContent.css.txt - which sometimes seems to happen with Win7 and later.

more options

Ok, yes, I see that it works in this folder:

C: \ Users \ S-L-U-D-G-E \ AppData \ Roaming \ Mozilla \ Firefox \ Profiles \ 3kalygq4.default-1391633366966 \ chrome \ userContent.css

I have changed two of the colors, and made the opacity 1.0

Always - green . . . rgb(0,255,204) . . . this color is good Ask - grey . . . rgb(213,213,213) . . . change it to grey - assume that something is off, unless you have set it otherwise Never - light red . . . rgb(255,128,128) . . . a lighter red makes it easier to see the black text

/* about:addons */ @-moz-document url(about:addons){ .addon-control[label="Always Activate"]{box-shadow: inset 0pt 0pt 30px rgba(0,255,204,1.0)} .addon-control[label="Ask to Activate"]{box-shadow: inset 0pt 0pt 30px rgba(213,213,213,1.0)} .addon-control[label="Never Activate"]{box-shadow: inset 0pt 0pt 30px rgba(255,128,128,1.0)} }

Having the buttons with color is good, but what I was looking for was to make the whole row these colors.

On a 23" monitor, you still have to make an unnecessary effort to look, to verify the status of each Plugin, if just the tiny buttons are color coded.

If the tiny buttons were to the left of the text, then it would be ok - or if the tiny buttons replaced the blue Plugins icons . . . If I'm looking in the Plugins folder, why does there have to be a Plugins icon to the left of each Plugin? Could something other than a Plugin be in that folder?

Any idea how I can apply these colors to the whole rows? I see that if set to "Never Activate," it makes the whole row a darker shade of grey, so it seems possible.

由 sludge7051-x 於 修改

more options

選擇的解決方法

There is only an active="true/false" tribute to work with, so you can't distinguish between always activate and ask to activate.

.addon-view[type="plugin"][active="false"]{box-shadow: inset 0pt 0pt 100px rgba(255,144,144,1.0)}
more options

Ok . . . this isn't bad . . .

Only the "Always Active" button gets a color - green . . . all the other buttons are grey

Only the "Never Activate" row gets a color - light red . . . all the other rows are grey

They sort in alphabetical order, so your: ... "Always Activate" are at the top - green ... "Never Activate" are at the bottom - red ... "Ask to Activate" are in between - grey

/* about:addons */ @-moz-document url(about:addons) { .addon-control[label="Always Activate"]{box-shadow: inset 0pt 0pt 30px rgba(0,255,204,1.0)} .addon-control[label="Ask to Activate"]{box-shadow: inset 0pt 0pt 30px rgba(213,213,213,1.0)} .addon-control[label="Never Activate"]{box-shadow: inset 0pt 0pt 30px rgba(213,213,213,1.0)} .addon-view[type="plugin"][active="false"]{box-shadow: inset 0pt 0pt 100px rgba(255,128,128,1.0)} }

由 sludge7051-x 於 修改