Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A small bug in private tab script. Private tabs button disappears inside the tab bar when the tab bar is full instead of staying in place. #308

Open
kaos-55 opened this issue Jun 27, 2024 · 2 comments

Comments

@kaos-55
Copy link

kaos-55 commented Jun 27, 2024

When the private tab button is placed in front of the new tab button in the tab bar, it disappears as soon as the tab bar is full. To access the private tabs button, scroll to the last tab.

Steps to reproduce the behavior:
-Install de private tab script.
-Move the private tab script in front of the new tab button in the tab bar.
-Open many tabs until the tab overflow arrows appear.
-The private tabs button disappears and is located at the end of the last tab.

Fortunately, this bug does not affect the functionality of the script, although it is a bit annoying.
I tried to look for a solution but I did not achieve anything, if someone knows a way to fix it, I would appreciate it.

Mozilla.Firefox.2024-06-27.mp4
@dimdamin
Copy link

Hi, you can modify embedded css

-          #tabbrowser-tabs[hasadjacentnewprivatetabbutton]:not([overflow="true"]) ~ #${UC.privateTab.BTN_ID},
-          #tabbrowser-tabs[overflow="true"] > #tabbrowser-arrowscrollbox > #tabbrowser-arrowscrollbox-periphery > #${UC.privateTab.BTN2_ID},
+          #tabbrowser-tabs[hasadjacentnewprivatetabbutton]:not([overflow]) ~ #${UC.privateTab.BTN_ID},
+          #tabbrowser-tabs[overflow] > #tabbrowser-arrowscrollbox > #tabbrowser-arrowscrollbox-periphery > #${UC.privateTab.BTN2_ID},

@kaos-55
Copy link
Author

kaos-55 commented Jun 28, 2024

it´s working thank you so much.
I left the updated script in case someone else finds it useful or wants to use it.
privateTab.uc.zip
I am leaving the issue open for a while so that it has more visibility in case someone has the same problem with the script and is looking for a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants