
Tabs keep changing - they move, change size, and pop-up unwanted. How make the static?
Hello everyone,
Like most of you, I'm aggressively attacked by advertising new tabs.
I'd like to have this: my tabs static, no movement, all fixed sizes, and no new tabs on redirects. If I need a new tab, I manually click the "+".-sign.
Fox tries to fit all tabs in, at the same time.
What I have tried so far is not working:
1. pinned tabs always get un-pinned at restart
2. pop-ups are stopped in Firefox own Settings
3. my settings in about:config: browser.uidensity = 0 browser.tabs.animate = false browser.tabs.tabmanager.enabled = false browser.tabs.allowTabDetach = false browser.tabs.tabMinWidth = 68 px dom.popup_allowed_events = False browser.tabs.loadInBackground = false services.sync.prefs.sync.browser.tabs.loadInBackground = false accessibility.blockautorefresh = false services.sync.prefs.sync.accessibility.blockautorefresh = false toolkit.tabbox.switchByScrolling = False browser.link.open_newwindow = 2 browser.link.open_newwindow.override.external = 3
Tabs still move, change size, and unwanted ones appear. :/
What settings should I change, add, or remove? Anyone more proficient than me, in about:config-programming?
Cheers!
Opaite Mbohovái (5)
Where do you think the unwanted tabs are coming from? Do they seem related to a particular site?
(I only discover unwanted tabs on travel-related sites that take the opportunity to launch a promotional tab when I click certain links. I don't think Firefox can tell which new tabs are annoying and which were the ones you actually wanted when you clicked.)
> 1. pinned tabs always get un-pinned at restart
Hmm, pinned tabs shouldn't change to regular tabs the next time you start Firefox, regardless of whether you restore all of your previous session windows and tabs (checkbox on the Settings page) or just the pinned tabs (assuming browsing history is not cleared when Firefox closes, this should happen even without that box). Ref. Pinned Tabs - keep favorite websites open and just a click away.
> browser.tabs.tabMinWidth = 68 px
I think the starting size for new tabs is around 225px, so there is a lot of room to shrink down to 68px. If you wanted to equalize the default width with the minimum width, I think you would need to use custom CSS rules in a userChrome.css file. That's not officially supported, but you can get help with that on the r/FirefoxCSS subreddit. I also have a site with general info at https://www.userchrome.org/.
> dom.popup_allowed_events = False
That is strange. This value usually is a link of actions that are allowed to bypass the popup blocker. I can't tell what problems this could cause, but you could consider resetting the value of this preference and then reducing the list, for example, to just submit.
> browser.link.open_newwindow = 2
That should cover links you click yourself. If the site has set target="_blank" on the link or uses window.open() to direct it to a new window, Firefox will allow the new window rather than diverting the link to a new tab. If you want to force the link to stay in the same tab instead, you can set this preference to 1 and then change browser.link.open_newwindow.override.external to 2 or 3 so that external links do not take over the active tab.
Hello volunteer, and thank you for all your efforts here!
Yes, I clear the history, so pin seeings return as regular tabs
Made less wise changes to about:config. AI suggested value "False" in dom.popup_allowed_event, I entered only "submit" instead. browser.link.open_newwindow now set to 3, so I at least get redirects away from active tabs and new windows.
For example I'm using a feature movie streaming site. So nasty ad re-directions are to be expected. Also, if I open the browser settings, a new tab appears, so redirects are not all bad.
Tried to fixate tabs size using width 68 px, not helping. New tabs keeps appearing, annoyingly shifting the whole bar back and forth.
Add-ons are not at fault, tried "Troubleshooting mode", no change. Privacy setting is "Strict".
If I can stop the tabs bar from scrolling / moving on it's own, that would be good enough.
I'll look into the css-idea.
I posted this question to AI: Firefox 142 - Is it possible to fixate tabs in the tabs bar, so new tabs are not visible? Answer: "No, in current versions of Firefox, including hypothetical future versions like Firefox 142, you cannot fixate tabs in the tab bar to prevent new tabs from appearing, as there is no built-in feature to achieve this functionality. However, you can customize which toolbars are visible and where the "new tab" button is located to reduce the visibility of new tabs in certain situations" Can we propose Firefox to stop the tabs bar from moving? The arrows "<" and ">" may be visible at all times. But let us surfers totally control the movement.
//
Hmm, if you clear history, you usually do not get any tabs back. Is it possible that you also have those same tabs saved as your home page(s)? You can check by launching a new window (Ctrl+N), because your home page(s) are shown in every new window.
In order to make the tabs stay the same size as more open, you have two choices:
(1) Use the starting size as the minimum. Set browser.tabs.tabMinWidth to 225
(2) Set a fixed size by overriding the starting size with a value that matches the narrow size in browser.tabs.tabMinWidth. For that you need to delve into userChrome.css, as mentioned before.
Since you went back to sending popups to new tabs, and you want to avoid getting switched to new tabs, what do you think about setting both of these preferences to true:
- browser.tabs.loadInBackground
- browser.tabs.loadDivertedInBackground
Set both to "True", no change:
- browser.tabs.loadInBackground
- browser.tabs.loadDivertedInBackground
I'll experiment with the .css-file.
Thank you very much for now!
Moambuepyre
Have found an acceptable way.
Three steps
1. in about.config set browser.compactmode.show = false browser.uidensity = 0 browser.tabs.animate = true (to get the ticking dots when a site loads) browser.tabs.tabmanager.enabled = false browser.tabs.allowTabDetach = false browser.tabs.unloadOnLowMemory = false browser.tabs.insertAfterCurrent = false browser.tabs.insertAfterCurrentExceptPinned = false browser.tabs.insertAfterCurrent = false browser.tabs.loadInBackground = true accessibility.blockautorefresh = true toolkit.tabbox.switchByScrolling = false browser.link.open_newwindow = 3 toolkit.legacyUserProfileCustomizations.stylesheets = true
2. Use Notepad.exe to create the file userChrome.css, and put it in Foxes appdata folder: C:\Users\your_user_name\AppData\Roaming\Mozilla\Firefox\Profiles\*********.default-release-***************\chrome In the file enter code .tabbrowser-tab:not([pinned]) {
min-width:73px !important;
} .tabbrowser-tab:not([pinned]) {
max-width: 73px !important;
}
Choose what size in pixels you find suitable.
3 In Fox, open the number of tabs you need, open the sites you use often in these tabs, save them in Settings > Home > Use Current Pages
Now tabs stay put, you can delete history on close. When starting again, everythinging reappears If you close a tab, that space is not filled with other tabs, it stays blank.