Mozilla Relay is experiencing issues with call and text delivery. We’re working on a fix. Check Mozilla Status for updates.

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Profile copied to different computer not recognised

  • 40 个回答
  • 0 人有此问题
  • 40 次查看
  • 最后回复者为 mail226

more options

I'm running Firefox 122.0.1 on a Windows 10 desktop PC, with a profile which includes a userChrome.css file which makes several layout and cosmetic changes.

I also have a laptop (also Windows 10) which has an old Firefox 97.0.1 installation, and I'd like to make the same changes on this machine which I'm used to on the main computer. I copied my desktop profile to the laptop, to the same directory as its present profile, but when I rebooted Firefox the transferred profile wasn't recognised.

While doing the transfer I received error messages about some of the folders: Destination path too long. This despite the fact that the registry flag to accept extended paths is set to 1. I had to skip several folders in order to complete the transfer.

Could this be the reason why the new profile isn't being picked up? Or is it because the two Firefoxes are of different versions?

I'd be grateful for any thoughts. Many thanks.

I'm running Firefox 122.0.1 on a Windows 10 desktop PC, with a profile which includes a userChrome.css file which makes several layout and cosmetic changes. I also have a laptop (also Windows 10) which has an old Firefox 97.0.1 installation, and I'd like to make the same changes on this machine which I'm used to on the main computer. I copied my desktop profile to the laptop, to the same directory as its present profile, but when I rebooted Firefox the transferred profile wasn't recognised. While doing the transfer I received error messages about some of the folders: ''Destination path too long''. This despite the fact that the registry flag to accept extended paths is set to '''1'''. I had to skip several folders in order to complete the transfer. Could this be the reason why the new profile isn't being picked up? Or is it because the two Firefoxes are of different versions? I'd be grateful for any thoughts. Many thanks.

由mail226于修改

所有回复 (20)

more options

Thanks for that link. I'll have to subscribe to Reddit and take a look at the discussion.

有帮助吗?

more options

Sorry: question posted in error. Apologies.

由mail226于修改

有帮助吗?

more options

I'm happy to report that I'm almost there, with the layout and most of the colour choices now working in version 127.0 running on Windows 10.

There's one thing I can't sort out: I'd like to have a tab change background colour when hovered over. This is the code, inherited from the previous PC:

[hash] TabsToolbar:not(:-moz-lwtheme) { [hash] tabbrowser-tab:not([selected="true"]):hover [hash] tab-background

  background-color: red !important;

}

I don't know if giving that in isolation is actually helpful or not, since it could be being overridden by something else that I'm not recognising, but just in case the problem is in these lines I thought it might be worth posting them. Am I overlooking something obvious?

Many thanks.

由mail226于修改

有帮助吗?

more options

mail226 said

#TabsToolbar:not(:-moz-lwtheme) {
#tabbrowser-tab:not([selected="true"]):hover
#tab-background
   background-color: red !important;
}

That isn't legal CSS. I think they meant for it to be this:

#TabsToolbar:not(:-moz-lwtheme) #tabbrowser-tab:not([selected="true"]):hover #tab-background {
   background-color: red !important;
}

有帮助吗?

more options

jscher2000, thanks for that; I'll give it a go.

有帮助吗?

more options

jscher2000, unfortunately it didn't work: the problem must lie elsewhere. I think I might start again from scratch with a newly-created profile, checking at each stage. I have the current one safely stored in duplicate and I can always revert to it if I don't get anywhere with a new one.

有帮助吗?

more options

Actually, that earlier CSS had a hash (meaning id="") where it should have had a dot (meaning class=""). So if I had tested it, I would have known that it can't work.

In Firefox 133, the style rule for hover color for background tabs is written in a new way:

.tab-background {
  .tabbrowser-tab:hover > .tab-stack > &:not([selected], [multiselected]) {
    background-color: var(--tab-hover-background-color);
    outline-color: var(--tab-hover-outline-color);
  }
}
 

I never learned the proper use of the & references to write inside-out CSS. However, I do know how to copy and replace. Try this:

/* Background tab hover colors for Fx133 */
.tab-background {
  .tabbrowser-tab:hover > .tab-stack > &:not([selected], [multiselected]) {
    background-color: red !important;
    outline-color: black !important;
  }
}

有帮助吗?

more options

Thanks for that; I'll try it as soon as I can. In 133 has anything changed in the coding to set overall colours for the tabs, and a colour for the selected tab? I'd also like to change the background colours for the tab bar and the File, Edit, View... bar: I'll try my existing codes for that and see what happens.

Looking into this, it's clear that the tabs-below-the-address-bar issue is a long-standing moan. And I see that people are complaining that each new FF update tends to break any css code for doing the move. I really don't understand why the option hasn't long since been included as a simple choice in Settings.

由mail226于修改

有帮助吗?

more options

I gave up trying to stay on top of changes a few years ago. There are always little changes, occasionally big changes, and the popular Github repositories and r/FirefoxCSS are the go-to resources for updated code.

有帮助吗?

more options

I saw a stern warning that versions of FF earlier than the current one would no longer function correctly after some date in January. Assuming that's true and not just scare-mongering, I suppose I must update to 133 and try to make my previous layout- and colour changes work, and since the principal one is placing the tabs below the address bar I'm looking for a 133-friendly version of the coding. Cor-el also recommended Reddit and I plan to check that out, as well as the Github resources.

Thanks again.

由mail226于修改

有帮助吗?

more options

jscher2000, I installed v133 and tried your hover coding. At first it didn't have any effect but then I remembered to alter the toolkit.legacyUserProfileCustomizations.stylesheets setting to true and now it works perfectly. Hopefully that first successful tweak will pave the way for some more.

Thanks again.

有帮助吗?

more options

A very belated update (Christmas got in the way) to say that I've now managed to get the tabs bar beneath the address bar in v 133. I used this file by MrOtherGuy from GitHub.

I haven't yet succeeded in making most of the other changes I had back with v122, though jscher2000's code to change the hover colour on inactive tabs does work, so that's a good start. I'd like to alter the colour of the tab bar (that's to say the background), and also introduce vertical spaces between the tabs, at the very least. Any pointers in the right direction will be very welcome; thanks.

由mail226于修改

有帮助吗?

more options

mail226 said

I saw a stern warning that versions of FF earlier than the current one would no longer function correctly after some date in January. Assuming that's true and not just scare-mongering,

Not sure about January however starting March 14, 2025 your Extensions may not work if you do not have Firefox 128 or later or 115.13.0+esr or later. https://support.mozilla.org/en-US/kb/root-certificate-expiration

有帮助吗?

more options

James, I'm certain that the warning I saw specified January 2025 (and a definite date, though I don't recall what it was) after which my then version of Firefox (122.0.1) would no longer display some video files correctly. It just appeared in a new tab and I've not seen it again - though now I've updated to v 133 I suppose I shouldn't expect to. Very strange.

有帮助吗?

more options

jscher2000. A belated update (blame Christmas). I've now tried your tab hover coding but unfortunately it didn't have any effect. Experimenting a bit, I tried putting "#TabsToolbar" before the ".tab-background..." and this made it work.

由mail226于修改

有帮助吗?

more options

Posted in error. Apologies.

由mail226于修改

有帮助吗?

more options

A very happy new year to all. Thanks to help received here and in the Reddit Firefox CSS group, I've now managed to get v133.0.3 almost into the state I want. One thing is still puzzling me, though: in my previous (v1.22.0) Firefox, I recall that however many tabs were established, the "X" symbol to close each tab remained visible: I'll attach a screen grab. In my revamped v133, once the tabs reach a certain number (and therefore are each reduced to a certain width) the "X" disappears.

Is this a quirk of the new version or did I set something in the earlier one which I need to do again? If the latter, I can't see what it is.

I realise of course that I can close any non-live tab by right-clicking and selecting "Close tab" but I'd prefer the more convenient arrangement I had before. Is there a way of getting it back?

Many thanks.

由mail226于修改

有帮助吗?

more options

I have been given a fix:

.tab-close-button{display:flex !important;}

有帮助吗?

more options

It's possible that some files didn't transfer correctly because of the long path error. Try copying the profile again, ensuring all files are transferred, and consider upgrading the Firefox version on your laptop to match your desktop. This should help with compatibility and ensure the profile is recognized.

有帮助吗?

more options

Thanks. I'll look at that.

有帮助吗?

  1. 1
  2. 2
我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题