9

The URL in question has a long user ID string so the interesting part of the URL appears at the end which is always off-screen.

Anyone know how I can go about this?

0

2 Answers 2

1

Add this code:

#urlbar *,
#FindToolbar *,
#search-container * { font-size:11pt !important; }

#urlbar .textbox-input-box,
#search-container .textbox-input-box, 
#FindToolbar .textbox-input-box
 { font-size:12pt !important; font-family:"DejaVu Sans Mono"; }

to the userChrome.css file which is located in the chrome folder in your Profile folder (for more information on how to get there go to Editing configuration).

If there is no chrome folder in your Profile folder, create a folder named chrome and create a plain text file inside the folder named userChrome.css.


You can also stretch the address bar by customizing the toolbar: re-sizing the Search Bar, thus making the address bar longer, and removing unneeded buttons or bookmarks from the toolbar to make more space for the address bar.

6
  • I've just tried this but it only seems to set the font and size. Long URLs are still truncated. Jul 31, 2012 at 12:57
  • Try this (in the userChrome.css file): To increase the status bar height, enter the following code exactly after the opening lines: <br /><br /> /* change status toolbar height and font */ <br /> #status-bar { <br /> height: (new number) px !important <br / > GO <br /> } * To make the status bar noticeably larger, you will need to choose a number larger than 25 pixels.
    – amiregelz
    Jul 31, 2012 at 13:12
  • Just tried the height:50px trick and it does increase height, but the text doesn't wrap (even with white-space:normal or pre-line). Maybe the text box is resolutely single line and not meant to wrap... :\ Jul 31, 2012 at 14:12
  • Then I guess that the text box cannot be customized, despite the "customize Firefox pretty much any way you like!" motto...(on second thought they did say "pretty much"). Have you tried looking for other browsers that might allow customizing the address bar text box? Also, how important is it for you to see the whole URL?
    – amiregelz
    Jul 31, 2012 at 14:21
  • I was hoping to find a solution with Firefox. It's not the end of the world, but I know I could be more productive if I didn't have to mouse and keyboard to see the end of the URL. Alt-D and End will have to do. Cheers for trying to figure this one out. Aug 1, 2012 at 14:51
1

This does not expand the address bar vertically, but does align the text so that you can see the end.

I realize this is an old question, but based on the discussion in the comments of the other answer, this may help people.

Add the following to your userChrome.css:

#urlbar-input:nth-child(2) {
    text-align: left !important;
    direction: rtl !important;
}

#urlbar-input {
  mask-image: none !important;
}

I originally thought to use text-align: right, but text-align: left has the added benefit of keeping shorter URLs on the left side of the bar as normal.

short URL

For longer URLs, it aligns the text to start from the right so you can see the end of the URL.

long URL

Tested using the Wikipedia page for Lopado­temacho­selacho­galeo­kranio­leipsano­drim­hypo­trimmato­silphio­karabo­melito­katakechy­meno­kichl­epi­kossypho­phatto­perister­alektryon­opte­kephallio­kigklo­peleio­lagoio­siraio­baphe­tragano­pterygon as a long URL.

The modification to mask-image: none !important; is to remove the fade out effect on the right side of the text so it is fully visible.

mask-image fade

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .