MozillaZine

"Thunderbird68" "Error Console" css Background writing

User Help for Mozilla Thunderbird
1618年
 
Posts: 13
Joined: September 19th, 2019, 5:17 pm

Post Posted September 28th, 2019, 10:12 pm

The background of each item of "Error Console" was changed using "userChrome.css"
until "Thunderbird60". However, this style can no longer be used from "Thunderbird68".

.devtools-filterinput{
-moz-appearance:none !important;
border:2px solid;
border-color:#4F4F4F !important;
border-radius:5px;
background-color:#CFCFCF !important;
color:#000000;}

.devtools-toolbar{
-moz-appearance:none !important;
background-color:#A1A1A1 !important;
color:#000000 !important;}

.webconsole-filter-button[checked="true"]:not(.toolbarbutton-menubutton-button):not(#titlebar-min):not(#titlebar-max):not(#titlebar-close){
background-color:#CFCFCF !important;}

.webconsole-filter-button>toolbarbutton:hover{
background-color:#767676!important;}

.webconsole-filter-button:not([disabled="true"]):not([checked="true"]):not([open="true"]):hover:active,
.webconsole-filter-button[open="true"]{
background-color:#5D5D5D !important;}

.webconsole-clear-console-button:hover{
-moz-appearance:none !important;
background-color:#787878 !important;}

.webconsole-clear-console-button:hover:active{
-moz-appearance:none !important;
background-color:#5D5D5D !important;}

#output-wrapper>div>#output-container,
#output-wrapper,
.jsterm-input-container{
border:2px solid;
border-top-color:#4F4F4F;
border-left-color:#4F4F4F;
border-right-color:#4F4F4F;
border-bottom-color:#686868;
background-color:#CFCFCF !important;
color:#000000;}

textbox{
-moz-appearance:none !important;
border:2px solid;
border-radius:5px;
border-top-color:#686868;
border-left-color:#686868;
border-right-color:#686868;
border-bottom-color:#686868;
margin:1px 2px;
padding:0;
background-color:#CFCFCF !important;
color:#000000;}


Someone who knows how to write css that can be used with "Thunderbird 68"
If so, please let me know.

Thank you in advance.

tanstaafl
Moderator

User avatar
 
Posts: 46673
Joined: July 30th, 2003, 5:06 pm

Post Posted September 28th, 2019, 11:49 pm

Did you use something like the DomInspector add-on to verify that the windows names didn't change in version 68?

morat
 
Posts: 3835
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 29th, 2019, 1:24 am

I got no results when searching for the following strings in the omni.ja files.

* webconsole-filter-button
* webconsole-clear-console-button
* output-wrapper
* output-container

I believe <textbox> got changed to <html:textarea>.

Example: viewtopic.php?f=39&t=3055151

Changes in Thunderbird 61-68
http://developer.thunderbird.net/add-ons/updates/tb68

1618年
 
Posts: 13
Joined: September 19th, 2019, 5:17 pm

Post Posted September 29th, 2019, 1:40 am

I tried to check, but "Dom Inspector" could not be checked because it does not support "Thunderbird 68".

I also contacted the creator of the add-on

viewtopic.php?f=48&t=1874965&start=30

morat
 
Posts: 3835
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 29th, 2019, 2:32 am

Try using the Browser Toolbox instead of DOM Inspector.

* set devtools.chrome.enabled pref to true
* set devtools.debugger.remote-enabled pref to true
* set devtools.debugger.prompt-connection pref to false
* set devtools.inspector.showAllAnonymousContent pref to true

In Thunderbird, the Browser Toolbox is called the Developer Toolbox.

Browser Toolbox
http://developer.mozilla.org/docs/Tools/Browser_Toolbox

Annoying that there is no source code available for Thunderbird 68 online.

Source
http://dxr.mozilla.org/
http://searchfox.org/

Bugs for comm-esr68
http://bugzilla.mozilla.org/show_bug.cgi?id=1574953
http://bugzilla.mozilla.org/show_bug.cgi?id=1577406
Last edited by morat on September 29th, 2019, 3:41 am, edited 1 time in total.

1618年
 
Posts: 13
Joined: September 19th, 2019, 5:17 pm

Post Posted September 29th, 2019, 3:30 am

I started Thunderbird's "Browser Toolbox" for the first time. it's difficult. It seems not to be usable. I have to study for a while ...

morat
 
Posts: 3835
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 29th, 2019, 4:21 am

You can use the Select an iframe as the currently targeted document button to change the document.

3pane window > chrome://messenger/content/messenger.xul
message window > chrome://messenger/content/messageWindow.xul
compose window > chrome://messenger/content/messengercompose/messengercompose.xul
address book window > chrome://messenger/content/addressbook/addressbook.xul
error console window > chrome://devtools/content/webconsole/index.html

You can use the Pick an element from the page button to inspect an element.

1618年
 
Posts: 13
Joined: September 19th, 2019, 5:17 pm

Post Posted September 29th, 2019, 5:20 am

After all it is difficult.
I want to start after learning more.

Thank you very much.

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 7 guests