Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Linux : Change remote content warning banner background color. Yellow hurt my eyes.

  • 3 replies
  • 1 has this problem
  • 20 views
  • Last reply by david

more options

I DO want to forbid remote content but I also would like to either remove the yellow warning banner or change its color because it is really eye-catching/annoying. I mean so far I have allowed remote content just for the sake of not seeing it. Which I don't think was the intended purpose of the banner.

I have seen there is a CSS hack on Windows but Thunderbird on Ubuntu does not share the same directory structure so I could not adapt it.

A hack is okay but I would also like to report it as counter-productive/bug to the devs. I highly doubt I am the only one to suffer from this annoying banner and I am pretty sure nobody is taking the time to report because they don't they can.

Thanks in advance for reading my complaint.

I DO want to forbid remote content but I also would like to either remove the yellow warning banner or change its color because it is really eye-catching/annoying. I mean so far I have allowed remote content just for the sake of not seeing it. Which I don't think was the intended purpose of the banner. I have seen there is a [https://support.mozilla.org/en-US/questions/1273397 CSS hack] on Windows but Thunderbird on Ubuntu does not share the same directory structure so I could not adapt it. A hack is okay but I would also like to report it as counter-productive/bug to the devs. I highly doubt I am the only one to suffer from this annoying banner and I am pretty sure nobody is taking the time to report because they don't they can. Thanks in advance for reading my complaint.

Chosen solution

It's probably better to change the color of the banner rather than allow all remote content, and this can be done with css:

@namespace html url("http://www.w3.org/1999/xhtml");
html|div.container.infobar[role="alert"] {
  background-color: pink !important;
}

Help/More Troubleshooting, Profile Folder, Open Directory, close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userChrome.css, Save as type: All files *.*, copy in the above code, change the color as desired (see picture). Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Preferences/General/Config. editor, restart TB.

To hide the banner, use this code:

#mail-notification-top {
display: none !important;
}
Read this answer in context 👍 0

All Replies (4)

more options

That isn't really a 'hack', as CSS is supported for TB and there are many user mods done that way. Also, that feature does work in Linux, as I set one up last summer. I am a novice at Linux and just copied from my Windows machine to a Linux machine. In the user profile, there needs to be a folder named 'chrome', lower-case and a file named userChrome.css in it with the CSS statements. You also need to update config editor with toolkit.legacyUserProfileCustomizations.stylesheets set to true.

Modified by david

more options

Chosen Solution

It's probably better to change the color of the banner rather than allow all remote content, and this can be done with css:

@namespace html url("http://www.w3.org/1999/xhtml");
html|div.container.infobar[role="alert"] {
  background-color: pink !important;
}

Help/More Troubleshooting, Profile Folder, Open Directory, close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userChrome.css, Save as type: All files *.*, copy in the above code, change the color as desired (see picture). Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Preferences/General/Config. editor, restart TB.

To hide the banner, use this code:

#mail-notification-top {
display: none !important;
}
more options

Thank you all ! Allow me to recap:

From Thundebird: -> Help -> More troubleshoot information -> Click the "Open directory button" in the table to open the file manager at the right location -> Create a folder called "chrome" there -> Create a userChrome.css file in the newly created "chrome" directory -> Open the file and paste the following into it

@namespace html url("http://www.w3.org/1999/xhtml");
html|div.container.infobar[role="alert"] {
  background-color: pink !important;
}

-> (Replace pink with any color you like if you don't like pink) -> Save the file -> Back in Thunderbird, go to Preferences -> General -> Back down the pages lies the "Config Editor" button -> From the newly opened "Advanced preferences" tab, in the search bar search for " toolkit.legacyUserProfileCustomizations.stylesheets -> Set the value to true -> Restart Thunderbird

Modified by cassepipe

more options

I think you've got it.