Recommended Posts

I don't think you can do that with css (I know you can't on Windows 7 Aero), but there's an add-on for that :)

Hide Caption Titlebar Plus (Smart)

Thanks for all the help. The code that vasa1 presented does the job, but I had to alter the original code you provided to "drop" the address bar back down into the proper area with the setting margin-top: 14px !important; which gives me exactly what I was looking for, basically a "headless" version of the browser, with no buttons on it at all save for the Bookmarks Toolbar, and just enough space where I can still grab the top and move the window around if required.

Now if I could find a way to make the browser become a permanent fixture on the Desktop, like a permanent gadget, then I'd be all set... :D

But I'm done for now, really done, and I've backed up the folder 3 or 4 times now so I don't lose all this effort.

Have fun, always...

Just like yours, max22. Could you inform me what part of your script does this?

Thanks are you talking about just the Firefox button and having my tabs moved over all the way? If so I use this one.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#appmenu-button-container, 
#appmenu-toolbar-button {
    display: none !important;
}

I also hide the star icon in the address bar and highlight current text feels I am in. My addon bar only appears for 10 secs whenever it needs to be active. For example when I switch tabs it will appear again.

Is there any script which minimizes the width of the tabs?

they look ik sh*t right now! like 2 miles wide... :laugh:

The answer maybe here:

https://bugzilla.mozilla.org/show_bug.cgi?id=574654

"Maybe" because I'm still reading that bug but it looks likely!

The answer maybe here:

https://bugzilla.mozilla.org/show_bug.cgi?id=574654

"Maybe" because I'm still reading that bug but it looks likely!

.tabbrowser-tabs{
  max-width: value !important;
}

where value is the desired width in px, 150px should work

.tabbrowser-tabs{
  max-width: value !important;
}

where value is the desired width in px, 150px should work

When I tried 150px, it shrunk the space allotted to all tabs to a thin strip and so I got the left and right scroll arrows and just one visible tab with only 4 tabs.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 

.tabbrowser-tabs{
  max-width: 100px !important;
}

Maybe, it's something else conflicting. Will play around :) .

.tabbrowser-tabs{
  max-width: value !important;
}

where value is the desired width in px, 150px should work

I got this from the bug thread I referenced (courtesy timmyfox, IIRC):

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 
/*
.tabbrowser-tabs{
  max-width: 1000px !important;
}
*/

.tabbrowser-tab:not([pinned]) {
  max-width: 170px !important;
  min-width: 20px !important;

}
.tabbrowser-tab:not([fadein]) {
 max-width: 1px !important;
 min-width: 1px !important;
 max-width: 1px;
 min-width: 1px;

}

When I tried 150px, it shrunk the space allotted to all tabs to a thin strip and so I got the left and right scroll arrows and just one visible tab with only 4 tabs.

I got this from the bug thread I referenced (courtesy timmyfox, IIRC):

This has duplicate properties. The first two would override the second two and they're all set to the same value anyway:

.tabbrowser-tab:not([fadein]) {
 max-width: 1px !important;
 min-width: 1px !important;
 max-width: 1px;
 min-width: 1px;
}

should be:

.tabbrowser-tab:not([fadein]) {
 max-width: 1px !important;
 min-width: 1px !important;
}

Can someone please help me fix my styles. They got corrupt after upgrading to latest nightly. First of all there is the tab background problem and second can't remove the border between the tab toolbar and url bar any more with transparency enabled...

Thanks in advance!

Buttons as tabs and styled tabs:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button) {
 -moz-appearance: none !important;
 margin: 1 !important;
 padding: 0 !important;
 background-repeat: no-repeat !important;
 background-size: 200% !important;
 -moz-border-image: url("chrome://browser/skin/tabbrowser/tab.png") 4 5 3 6 / 4px 5px 3px 6px !important;
 -moz-border-radius: 10px 8px 0 0 !important;
}

.tabbrowser-tab:not([selected="true"]),
.tabs-newtab-button,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button) {
 background-position: -5px -2px !important;
 background-image: -moz-linear-gradient(top,rgba(198,201,206,.60),
        rgba(151,160,172,.60)),
        -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

.tabbrowser-tab:not([selected="true"]):hover,
.tabs-newtab-button:hover,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button):hover {
 background-image: -moz-linear-gradient(top,rgba(198,201,206,.8),
        rgba(151,160,172,.8)),
        -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

.tabbrowser-tab:not([selected="true"]) {
 text-shadow: 0 1px 0 rgba(255,255,255,.3) !important;
}

#TabsToolbar > #home-button + #tabbrowser-tabs {margin-left: 0 !important;}

#TabsToolbar > #home-button {margin-right: 0px !important; margin-top: 0px !important; width: 31px !important;}

[sizemode="maximized"] #TabsToolbar > #home-button {margin-left: -3px !important;}

Transparency:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#nav-bar, #PersonalToolbar {border: none !important; background: transparent !important; text-shadow: #fff 0px 0px 10px, #fff 1px 1px 10px, #fff 1px 1px 3px !important;}

post-344974-0-70122200-1297374742.png

Can someone please help me fix my styles. They got corrupt after upgrading to latest nightly. First of all there is the tab background problem and second can't remove the border between the tab toolbar and url bar any more with transparency enabled...

Thanks in advance!

Buttons as tabs and styled tabs:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button) {
 -moz-appearance: none !important;
 margin: 1 !important;
 padding: 0 !important;
 background-repeat: no-repeat !important;
 background-size: 200% !important;
 -moz-border-image: url("chrome://browser/skin/tabbrowser/tab.png") 4 5 3 6 / 4px 5px 3px 6px !important;
 -moz-border-radius: 10px 8px 0 0 !important;
}

.tabbrowser-tab:not([selected="true"]),
.tabs-newtab-button,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button) {
 background-position: -5px -2px !important;
 background-image: -moz-linear-gradient(top,rgba(198,201,206,.60),
        rgba(151,160,172,.60)),
        -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

.tabbrowser-tab:not([selected="true"]):hover,
.tabs-newtab-button:hover,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button):hover {
 background-image: -moz-linear-gradient(top,rgba(198,201,206,.8),
        rgba(151,160,172,.8)),
        -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

.tabbrowser-tab:not([selected="true"]) {
 text-shadow: 0 1px 0 rgba(255,255,255,.3) !important;
}

#TabsToolbar > #home-button + #tabbrowser-tabs {margin-left: 0 !important;}

#TabsToolbar > #home-button {margin-right: 0px !important; margin-top: 0px !important; width: 31px !important;}

[sizemode="maximized"] #TabsToolbar > #home-button {margin-left: -3px !important;}

Transparency:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#nav-bar, #PersonalToolbar {border: none !important; background: transparent !important; text-shadow: #fff 0px 0px 10px, #fff 1px 1px 10px, #fff 1px 1px 3px !important;}

About 2º bug.

I'm facing same issue. Only in maximized mode.

Try this for now:

#main-window[sizemode="maximized"] #TabsToolbar[tabsontop="true"] {
	margin-bottom: -1px !important;
	background: none !important;
}

Can someone please help me fix my styles. They got corrupt after upgrading to latest nightly. First of all there is the tab background problem and second can't remove the border between the tab toolbar and url bar any more with transparency enabled...

Thanks in advance!

About you tab background:

My styles still work

.tabbrowser-tab:not([selected="true"]) {
	background-image: -moz-linear-gradient(rgba(190,190,190,.55), rgba(120,120,120,.55), rgba(50,50,50,.7)) !important;
}
.tabbrowser-tab:not([selected="true"]):hover {
	background-image: -moz-linear-gradient(rgba(255,255,255,.55), rgba(230,230,230,.55), rgba(120,120,120,.7)) !important;
}
.tabbrowser-tab[selected="true"] {
	background-image: -moz-linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.55), rgba(255,255,255,.55)) !important;
}

uuu.png

How can I reduce the space between the menu button and the first tab??

This is for a maximized window. If you need it for a normal window replace maximized with normal

#main-window[tabsontop="true"][sizemode="maximized"] #TabsToolbar {    
     margin-left: 32px !important; 

Adjust to suit your needs

#main-window[tabsontop="true"][sizemode="maximized"] #TabsToolbar {    
     margin-left: 32px !important; 

Adjust to suit your needs

thanks I got it, had to change two values from 7.5em to 3.5em and another similar one.

Can someone please help me fix my styles. They got corrupt after upgrading to latest nightly. First of all there is the tab background problem and second can't remove the border between the tab toolbar and url bar any more with transparency enabled...

Thanks in advance!

Hey mNiosu, try this:

#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button) {
	-moz-appearance: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
	padding: 0 !important;
	background-repeat: no-repeat !important;
	background-size: 200% !important;
        background-position: -5px -2px !important;
	-moz-border-image: url("chrome://browser/skin/tabbrowser/tab.png") 4 5 3 6 / 4px 5px 3px 6px !important;
	-moz-border-radius: 10px 8px 0 0 !important;
}

.tabbrowser-tab:not([selected="true"]), 
.tabs-newtab-button, 
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button) {
	background-image: -moz-linear-gradient(top,rgba(198,201,206,.60), rgba(151,160,172,.60)), -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

.tabbrowser-tab:not([selected="true"]):hover, 
.tabs-newtab-button:hover, 
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):not(#tabview-button):hover {
	background-image: -moz-linear-gradient(top,rgba(198,201,206,.8), rgba(151,160,172,.8)), -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

.tabbrowser-tab:not([selected="true"]) {
	text-shadow: 0 1px 0 rgba(255,255,255,.3) !important;
}

#TabsToolbar > #home-button + #tabbrowser-tabs {
	margin-left: 0 !important;
}

#TabsToolbar > #home-button {
	margin-right: 0px !important;
	width: 31px !important;
}

#main-window[sizemode="maximized"] #TabsToolbar > #home-button {
	margin-left: -3px !important;
}

#nav-bar, 
#PersonalToolbar {
	border: none !important;
	background: transparent !important;
	text-shadow: #fff 0px 0px 10px, #fff 1px 1px 10px, #fff 1px 1px 3px !important;
}

post-350326-0-03092700-1297388323.png

About 2? bug.

I'm facing same issue. Only in maximized mode.

Try this for now:

#main-window[sizemode="maximized"] #TabsToolbar[tabsontop="true"] {
	margin-bottom: -1px !important;
	background: none !important;
}

This worked for me:

#TabsToolbar {
        background-image: none !important
}

Thanks, Yes you are right something must have changed. I was using this script bt Foxxyn8 Firefox Beta9+ Normal Window Tabs In Titlebar and it just stopped working right. I then later switched to this script Firefox 4 Menu Button with icon+(Tabs in Titlebar) and everything started to work again.

This is for a maximized window. If you need it for a normal window replace maximized with normal

#main-window[tabsontop="true"][sizemode="maximized"] #TabsToolbar {    
     margin-left: 32px !important; 

Adjust to suit your needs

Foxxyn... Just asking, why you suggest to add this code instead of normalize the window once and maximize it afterwards... This "trick" automatically adjusts the margin...

My point is... you think it's better to add it than leave it as is? You know what I mean, right? Paradeigm: I've removed the text "MineField" but the tabs abjusting their position automatically on normalize/maximize the main window...

What's your thesis about?

Thanks, Yes you are right something must have changed. I was using this script bt Foxxyn8 Firefox Beta9+ Normal Window Tabs In Titlebar and it just stopped working right. I then later switched to this script Firefox 4 Menu Button with icon+(Tabs in Titlebar) and everything started to work again.

Confirm, it WFM also. There must have been something, in the styles we were using before, that messed up something with the top margin, making the app button inactive (unclickable, without the hover effect) below a certain margin.

Foxxyn... Just asking, why you suggest to add this code instead of normalize the window once and maximize it afterwards... This "trick" automatically adjusts the margin...

My point is... you think it's better to add it than leave it as is? You know what I mean, right? Paradeigm: I've removed the text "MineField" but the tabs abjusting their position automatically on normalize/maximize the main window...

What's your thesis about?

Lack of sleep makes the mind fuzzy. I should have recognized that he had moved the tabs into the titlebar in normal mode in which case that adjustment is necessary, but only for the normal window.

Thanks, Yes you are right something must have changed. I was using this script bt Foxxyn8 Firefox Beta9+ Normal Window Tabs In Titlebar and it just stopped working right.

I fixed that yesterday. I just had to z-index #appmenu-button-container.

Hey mNiosu, try this:

Thanks a lot! As always the man with the answers. :D

What about the line between tab-bar and nav-bar? I can't seem to manage to remove it...

LE: Ignore this. I saw Drifus's post later, fixed it know. Thanks Drifus!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Does anyone here know if these updates are integrated into the UUP dump isos?
    • Motrix Next 3.9.4 by Razvan Serea Motrix Next is a modern, open-source cross-platform download manager built as the official next-generation successor to the original Motrix project. It has been completely rewritten using Tauri 2, Vue 3, TypeScript, and Rust, while still relying on the powerful Aria2 download engine for high-speed multi-protocol transfers. The app supports HTTP, HTTPS, FTP, BitTorrent, ED2K and magnet links, offering advanced features like multi-connection acceleration, task scheduling, bandwidth control, and batch download management. With a significantly reduced install size (around 20MB), it focuses on being lightweight, fast, and resource-efficient compared to traditional Electron-based download tools. Designed for Windows, macOS, and Linux, Motrix Next delivers a clean, modern UI inspired by Material Design 3 principles, with smooth animations and a minimal workflow. It improves usability through better download organization, system tray integration, and enhanced torrent handling including selective file downloads and tracker management. Motrix Next features: Multi-protocol downloads — HTTP, FTP, BitTorrent, Magnet, .torrent, ED2K, and Metalink tasks BitTorrent — Selective file download, DHT, peer exchange, encryption controls, metadata caching, GeoIP peer flags, and tracker probing Browser extension integration — Embedded Extension API with independent authentication, download confirmation, smart auto-submit, filename hints, referer/cookie forwarding, and real-time controls (Chrome Web Store · Edge Add-ons) Safe filename handling — Content-Disposition, RFC 2047, non-UTF-8, percent-encoded, and extensionless URL resolution with path traversal sanitization Download organization — Favorite and recent folders, optional file-type categorization, stale-record cleanup, and completed history backed by SQLite Concurrent downloads — Independent controls for active tasks, HTTP connections per server, segments per file, and BT peer limits Speed control — Global and per-task upload/download limits with day-of-week and time-of-day scheduling System integration — Tray operation, optional tray speed display, macOS Dock badge/progress, protocol handlers for magnet://, thunder://, and motrixnext:// Lightweight mode — Destroys the WebView on minimize-to-tray while Rust keeps the engine, task monitor, notifications, history, and extension routing alive Notifications and power options — Native task start/complete/failure notifications, keep-awake during downloads, and optional shutdown after completion Network controls — Scoped proxy support for downloads, app updates, and tracker updates, plus system proxy detection Auto-update channels — Stable, Beta, and Latest Across Channels policies with separate download and install phases Diagnostics — Structured logs, exportable diagnostic ZIPs, database integrity checks, automatic DB rebuild, and Linux GPU rendering fallback Personalization — Light/dark/system theme, 10 color schemes, 26 languages, and first-launch system language detection Motrix Next 3.9.4 changelog: Motrix Next 3.9.4 promotes the 3.9.4 beta cycle to stable. This release refreshes bundled engine binaries, improves task detail readability and copy actions, expands link handling for magnet and ED2K workflows, polishes responsive navigation and text wrapping, updates browser extension documentation, and refines network preference controls. New Features Task Detail copy actions — Added copyable values for task metadata and reusable render functions for long text fields. Magnet and ED2K lifecycle support — Added task lifecycle handling for magnet and ED2K links. History cleanup for deleted tasks — Deleted tasks can now remove matching history records. User-Agent management — Added user-agent management and improved related network preference controls. Browser extension documentation — Added the Firefox Add-ons link for the Motrix Next extension. Improvements Engine binaries — Updated bundled binaries for supported architectures. Task Detail readability — Long task names, URLs, tracker values, and copyable metadata now render more clearly. Deletion messaging — Refined localized task deletion text for clarity and consistency. Text wrapping — Improved URI input wrapping and task name multiline display. Navigation layout — Improved sub-navigation responsiveness. Disk allocation default — Changed the default file allocation method to trunc. Proxy controls — Improved proxy button styling in network preferences. Download: Motrix Next 64-bit | ARM64 | macOS ~20.0 MB (Open Source) Links: Website | macOS / Linux | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • NVIDIA officially supports Ubuntu, as linked above with the GeForce NOW Hands on I did in collaboration with Paul Hill.
    • TO be clear I am not running linux today, however I keep thinking about it. And I want to make sure there are minimal obstacles if I decide to make that switch in the coming months.
    • Yes, I actually glossed over the Linux part from the OP. You could always go for a 9070 XT and if you really want to play Ray Traced games in the future, GeForce Now is pretty damn good on Linux https://www.neowin.net/news/nvidias-native-geforce-now-app-for-linux-bridges-the-gaming-gap-hands-on/
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      PsYcHoKiLLa
      250
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      69
    5. 5
      FloatingFatMan
      67
  • Tell a friend

    Love Neowin? Tell a friend!