1
3
Fork
You've already forked JustOnebar-Firefox
0

Is there a way to shorten the urlbar address bar? #1

Closed
opened 2025年09月19日 19:12:13 +02:00 by Scotty_Trees · 4 comments

Greetings!

And thanks for making this super awesome Firefox onebar, it's working great on Firefox v143. I do have one question though, is there a css value I could change to shorten the url/address bar horizontally? You're default value is good, but being on a 1920x1080 laptop, I try to maximize space a bit more if I can. Do you know anything I might be able to adjust with your css code to shorten the address bar? Would greatly appreciate it! My thought was to shorten the address bar by half it's horizontal length and then I think it'd be perfect for me.

Greetings! And thanks for making this super awesome Firefox onebar, it's working great on Firefox v143. I do have one question though, is there a css value I could change to shorten the url/address bar horizontally? You're default value is good, but being on a 1920x1080 laptop, I try to maximize space a bit more if I can. Do you know anything I might be able to adjust with your css code to shorten the address bar? Would greatly appreciate it! My thought was to shorten the address bar by half it's horizontal length and then I think it'd be perfect for me.

Glad you like it <3

You can make the URL bar as small as possible all the time by replacing max(35vw, 588px) with 588px and replacing min(65vw, calc(100vw - 588px)) with calc(100vw - 588px) in the userChrome.css file.
It can be made even smaller by lowering that 588px value, but doing so will likely cause some minor UI issues (on some platforms more than others).

I’ll look into making this the default in the future if I can find a way to make the URL bar expand on click instead of just when it’s typed in.

Glad you like it <3 You can make the URL bar as small as possible all the time by replacing `max(35vw, 588px)` with `588px` and replacing `min(65vw, calc(100vw - 588px))` with `calc(100vw - 588px)` in the userChrome.css file. It can be made even smaller by lowering that 588px value, but doing so will likely cause some minor UI issues (on some platforms more than others). I’ll look into making this the default in the future if I can find a way to make the URL bar expand on click instead of just when it’s typed in.

Thanks very much for the quick reply! I went and adjusted those 588px values, higher and lower than that to see what might work and while it does work to make the address bar longer, it doesn't work well when trying to shorten the address bar to say 388px, the address bar only goes so short under these values before I guess a min is hit, and then the rest of the tab bar falls under the address bar. Here's a screenshot of what that looks like just in case my words fail me.

Thanks very much for the quick reply! I went and adjusted those 588px values, higher and lower than that to see what might work and while it does work to make the address bar longer, it doesn't work well when trying to shorten the address bar to say 388px, the address bar only goes so short under these values before I guess a min is hit, and then the rest of the tab bar falls under the address bar. Here's a screenshot of what that looks like just in case my words fail me.

That’s what I meant by "UI issues." When set to extreme values it gets pretty unusable.
I can’t really do anything about that besides completely redoing Firefox’s UI from scratch, and that was never really the point of this project. I think there are some others out there that do that kind of thing though.

That’s what I meant by "UI issues." When set to extreme values it gets pretty unusable. I can’t really do anything about that besides completely redoing Firefox’s UI from scratch, and that was never really the point of this project. I think there are some others out there that do that kind of thing though.

Oh yeah it's no worries. It was fun testing it out and trying different values out to see the results, definitely a good little learning experience. Even if we can't adjust the address bar to be smaller, your onebar is still a really really good option I think. Feel free to close this issue anytime, and thanks again for your help.

Oh yeah it's no worries. It was fun testing it out and trying different values out to see the results, definitely a good little learning experience. Even if we can't adjust the address bar to be smaller, your onebar is still a really really good option I think. Feel free to close this issue anytime, and thanks again for your help.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LinuxinaBit/JustOnebar-Firefox#1
Reference in a new issue
LinuxinaBit/JustOnebar-Firefox
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?