ابحث في الدعم

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

No underline for an e10s tab

  • 6 ردود
  • 22 have this problem
  • 1 view
  • آخر ردّ كتبه beta990

more options

Running the latest FireFox Nightly: Getting underlines on tabs, but can't find option to disable/hide. Is it possible to disable the underline on tabs?

Thanks!

Running the latest FireFox Nightly: Getting underlines on tabs, but can't find option to disable/hide. Is it possible to disable the underline on tabs? Thanks!

الحل المُختار

You can use the DOM Inspector to check what rules are applied to e10s tabs.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor to create the userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
Read this answer in context 👍 2

All Replies (6)

more options

That is standard if you are using e10s tabs to distinguish them from normal tabs. The Private Tab extension does the same with Private Browsing mode tabs.

See also this olde blog:

more options

Thanks for your reply. :) I understand why the underlines are their, but was hoping the tab underline could be removed from the tab.

Is this possible?

more options

See:

  • chrome://browser/skin/browser.css
.tabbrowser-tab[remote] {
  text-decoration: underline;
}

Add code to the userChrome.css file below the default @namespace line.


@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tabbrowser-tab[remote] {
  text-decoration: none !important;
}

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

more options

Thanks again for looking at this issue. Unfortunately the steps above doesn't seems to have an effect, the underlines are still under the tabs title. I haven't tried hacking the main css file itself this is my css location: /home/user/.mozilla/firefox/<id>.default/chrome/userChrome.css (Linux)

Is this working for you? Note: I have a theme installed, but this should overrule the theme right?

Thanks again!

more options

الحل المُختار

You can use the DOM Inspector to check what rules are applied to e10s tabs.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor to create the userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
more options

Thanks for all the help! Finaly solved the issue, by using this code: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

.tabbrowser-tab[remote] { text-decoration: none !important; }

It seems when using @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); the CSS isn't loaded. When removing the quotes, it worked without any problems. Don't know if this is correct? Anyway it works now. :D

Thanks again for all the help and the quick responses. :)