I haven't done this but understand it's possible. You can move the Firefox View tab to another location, for example, to a toolbar. That might avoid the problem.
Firefox Customs
Post your unsupported Firefox customizations here!
From the makers of r/FirefoxCSS
Links
Related
Rules
- Posts must have flair!
- Posts cannot be memes/shitposts. They should be about Firefox customization with CSS.
- Please be civil. Bear in mind that many users come here for help and would be turned off by insults and rudeness.
- When posting large amount of code use a service dedicated to hosting text snippets, such as pastebin, hastebin, github gist or equivalent. Relatively short snippets can be wrapped in code-block for inline viewing.
- Do NOT use url-shorteners or link to compressed downloads (such as zip or rar) when sharing code.
hi, I don't mean that, I mean the firefox-view tab, not the firefox-view button, when you clic the firefox-view button it opens the tab but this tab is invisible, and that was make problems for my code.
Yes, I meant the tab.
I'm not sure I understand what you are going for, but you can certainly make the Firefox View tab visible like this:
.tabbrowser-tab[label="Firefox View"]{
display: flex;
}
Even though it will now be visible, you can't actually make that tab active because it will still have hidden="true"
attribute, which makes tab switching logic treat it as "non-selectable".
thanks for the help, I will use this, I hope don't affect other hidden tabs cause if I don't use [hidden="true"] too for some reason the code fails.
.tabbrowser-tab:is([hidden="true"][label="Firefox View"]){
display: block !important;
max-width: 0px !important;
min-width: 0px !important;
height: 0px !important;
padding-inline: 0px !important;
}