X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Hide go arrow in navigation bar, can't seem to find the selector to edit in userChrome.css

Posted

I used edits to userChrome.css to hide several items from the address bar, but I can't seem to find the right selector for the arrow that appears when you start typing in the address bar. So now it is the only thing there and it's driving me crazy. I have spent over an hour trying to figure it out with inspector addons and searching the web. I'm about to lose my mind. Obviously this is an insignificant thing to spend more than an hour on. Hopefully you can help me solve it relatively quickly.

Additional System Details

Installed Plug-ins

  • Foxit Reader Plug-In For Firefox and Netscape
  • Shockwave Flash 11.5 r502
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.5
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • iTunes Detector Plug-in
  • VLC media player Web Plugin 2.0.2
  • Google Update
  • Amazon MP3 Downloader Plugin 1.0.17
  • 1.3
  • 5.1.10411.0
  • Picasa plugin
  • NPWLPG
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

More Information

Reset Firefox to its default state
If you're having major problems which you can't resolve, start fresh with only your essential information.
Troubleshooting Information
This page contains technical information that might be useful when you're
trying to solve a problem. If you are looking for answers to common questions
about Firefox, check out our support website.
Application Basics
Name
Firefox
Version
17.0.1
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Profile Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
Adblock Plus2.1.2true{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}Add Bookmark Here ²13.0.20120505trueabhere2@moztw.orgConfiguration Mania1.16.2012081001true{c4d362ec-1cff-4ca0-9031-99a8fad7995a}Context Font0.6truecontextfont@easel.orgdeskCut0.6.0.3true{9125C9CB-BE2B-4389-A0C7-46A4BDD46AEA}DOM Inspector2.0.13trueinspector@mozilla.orgDragIt3.0.0true{575cbcb9-3b7e-493a-b001-886b3ae793b5}Firebug1.10.3truefirebug@software.joehewitt.comFireFontFamily0.1.2truefirefontfamily@firebugextensions.orgFirepicker1.4.1truefirepicker@thedarkoneFiresizer1.7true{04426594-bce6-4705-b811-bcdba2fd9c7b}Grab and Drag3.1.0true{477c4c36-24eb-11da-94d4-00e08161165f}gui:config1.2.2trueguiconfig@slosd.netLiveReload2.0.8truelivereload@livereload.comLocationbar²1.0.6truelocationbar2@design-noir.deMenu Editor1.2.7true{EDA7B1D7-F793-4e03-B074-E6F303317FB0}Microsoft .NET Framework Assistant1.3.1true{20a82645-c095-46ed-80e3-08825760534b}Movable Firefox Button1.4truemovableAppButton@Merci.chaoNewTabURL2.2.3truenewtaburl@sogame.catPDF Download3.0.0.2true{37E4D8EA-8BDA-4831-8EA1-89053939A250}Personal Menu5.1.0trueCompactMenuCE@Merci.chaoQuickToolbars1.1.5truequick@toolbars.beSave Session1.3.1.6truesavesession@noasobi.netStatus-4-Evar2012.07.08.17truestatus4evar@caligonstudios.comStratiform3.0.1trueStratiform@SoapySpewStylish1.3true{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}Xmarks4.1.3truefoxmarks@kei.comYTshowRating1.0.7truejid1-m7xzZLMj29zzjA@jetpackInline Code Finder for Firebug1.1falseicffirebug@robertnyman.comJava Console6.0.33false{CAFEEFAC-0016-0000-0033-ABCDEFFEDCBA}Java Console6.0.35false{CAFEEFAC-0016-0000-0035-ABCDEFFEDCBA}Java Console6.0.37false{CAFEEFAC-0016-0000-0037-ABCDEFFEDCBA}Live HTTP headers0.17false{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}PDF Architect Converter For Firefox1.0falseFFPDFArchitectConverter@pdfarchitect.comYSlow3.1.4falseyslow@yahoo-inc.com
Important Modified Preferences
Name
Value
accessibility.typeaheadfindtrueaccessibility.typeaheadfind.flashBar0accessibility.typeaheadfind.timeout2000browser.cache.disk.capacity358400browser.cache.disk.smart_size.first_runfalsebrowser.cache.disk.smart_size.use_old_maxfalsebrowser.cache.disk.smart_size_cached_value358400browser.cache.disk_cache_sslfalsebrowser.link.open_newwindow.restriction0browser.places.importBookmarksHTMLfalsebrowser.places.smartBookmarksVersion4browser.privatebrowsing.dont_prompt_on_entertruebrowser.startup.homepagehttp://go.infinise.com/browser.startup.homepage_override.buildID20121128204232browser.startup.homepage_override.mstone17.0.1browser.tabs.animatefalsebrowser.tabs.closeButtons2browser.tabs.closeWindowWithLastTabfalsebrowser.tabs.insertRelatedAfterCurrentfalsebrowser.tabs.loadFolderAndReplacefalsebrowser.tabs.loadInBackgroundfalsebrowser.tabs.selectOwnerOnClosefalsebrowser.tabs.tabMaxWidth150browser.tabs.tabMinWidth80browser.tabs.warnOnClosefalsebrowser.tabs.warnOnOpenfalsedom.disable_open_during_loadfalseextensions.checkCompatibility.5.0falseextensions.checkCompatibility.6.0falseextensions.checkCompatibility.7.0falseextensions.checkCompatibility.8.0falseextensions.checkCompatibility.9.0falseextensions.lastAppVersion17.0.1general.useragent.extra.btrsBTRS28621general.useragent.extra.microsoftdotnet( .NET CLR 3.5.30729; .NET4.0E)gfx.direct3d.prefer_10_1truegfx.use_text_smoothing_settingtruehtml5.enabletruemousewheel.horizscroll.withaltkey.action0mousewheel.withaltkey.numlines12mousewheel.withcontrolkey.action0mousewheel.withcontrolkey.numlines30mousewheel.withshiftkey.action0network.cookie.prefsMigratedtrueplaces.database.lastMaintenance1357785990places.history.expiration.transient_current_max_pages104858places.history.expiration.transient_optimal_database_size167772160places.last_vacuum1306853314plugin.disable_full_page_plugin_for_typesapplication/pdfprint.print_printerHP Photosmart 7760 seriesprint.printer_HP_Photosmart_7760_series.print_bgcolorfalseprint.printer_HP_Photosmart_7760_series.print_bgimagesfalseprint.printer_HP_Photosmart_7760_series.print_commandprint.printer_HP_Photosmart_7760_series.print_downloadfontsfalseprint.printer_HP_Photosmart_7760_series.print_edge_bottom0print.printer_HP_Photosmart_7760_series.print_edge_left0print.printer_HP_Photosmart_7760_series.print_edge_right0print.printer_HP_Photosmart_7760_series.print_edge_top0print.printer_HP_Photosmart_7760_series.print_evenpagestrueprint.printer_HP_Photosmart_7760_series.print_footercenterprint.printer_HP_Photosmart_7760_series.print_footerleft&PTprint.printer_HP_Photosmart_7760_series.print_footerright&Dprint.printer_HP_Photosmart_7760_series.print_headercenterprint.printer_HP_Photosmart_7760_series.print_headerleft&Tprint.printer_HP_Photosmart_7760_series.print_headerright&Uprint.printer_HP_Photosmart_7760_series.print_in_colortrueprint.printer_HP_Photosmart_7760_series.print_margin_bottom0.5print.printer_HP_Photosmart_7760_series.print_margin_left0.5print.printer_HP_Photosmart_7760_series.print_margin_right0.5print.printer_HP_Photosmart_7760_series.print_margin_top0.5print.printer_HP_Photosmart_7760_series.print_oddpagestrueprint.printer_HP_Photosmart_7760_series.print_orientation1print.printer_HP_Photosmart_7760_series.print_pagedelay500print.printer_HP_Photosmart_7760_series.print_paper_data1print.printer_HP_Photosmart_7760_series.print_paper_height 11.00print.printer_HP_Photosmart_7760_series.print_paper_size_type0print.printer_HP_Photosmart_7760_series.print_paper_size_unit0print.printer_HP_Photosmart_7760_series.print_paper_width 8.50print.printer_HP_Photosmart_7760_series.print_reversedfalseprint.printer_HP_Photosmart_7760_series.print_scaling 1.00print.printer_HP_Photosmart_7760_series.print_shrink_to_fittrueprint.printer_HP_Photosmart_7760_series.print_to_filefalseprint.printer_HP_Photosmart_7760_series.print_unwriteable_margin_bottom0print.printer_HP_Photosmart_7760_series.print_unwriteable_margin_left0print.printer_HP_Photosmart_7760_series.print_unwriteable_margin_right0print.printer_HP_Photosmart_7760_series.print_unwriteable_margin_top0privacy.sanitize.migrateFx3Prefstruesecurity.warn_viewing_mixedfalsesvg.enabledtrue
Graphics
Adapter DescriptionATI Radeon HD 4800 SeriesVendor ID0x1002Device ID0x9460Adapter RAM1024Adapter Driversaticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64Driver Version8.920.0.0Driver Date11-9-2011Adapter Description (GPU #2)ATI Radeon HD 4650Vendor ID (GPU #2)0x1002Device ID (GPU #2)0x9498Adapter RAM (GPU #2)1024Adapter Drivers (GPU #2)aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64Driver Version (GPU #2)8.920.0.0Driver Date (GPU #2)11-9-2011Direct2D EnabledtrueDirectWrite Enabledtrue (6.1.7601.17789)ClearType ParametersClearType parameters not foundWebGL RendererGoogle Inc. -- ANGLE (ATI Radeon HD 4800 Series) -- OpenGL ES 2.0 (ANGLE 1.0.0.1242)GPU Accelerated Windows1/1 Direct3D 10
AzureCanvasBackenddirect2dAzureFallbackCanvasBackendcairoAzureContentBackenddirect2d
JavaScript
Incremental GC
1
Accessibility
Activated
0
Prevent Accessibility
0
Library Versions
Expected minimum versionVersion in useNSPR4.9.24.9.2NSS3.13.6.0 Basic ECC3.13.6.0 Basic ECCNSS Util3.13.6.03.13.6.0NSS SSL3.13.6.0 Basic ECC3.13.6.0 Basic ECCNSS S/MIME3.13.6.0 Basic ECC3.13.6.0 Basic ECC

cor-el
  • Top 10 Contributor
  • Moderator
10752 solutions 96760 answers

Helpful Reply

This code in userChrome.css should do it.

Add this code to the userChrome.css file below the default @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#urlbar .autocomplete-history-dropmarker { display:none!important; }

Question owner

Thanks for the quick reply! I believe that is for the down arrow. I struggled for a while to remove that one too, but I already have that in my userChrome.css. I mean the right arrow that looks like ->. It only appears when you type in the address bar.

cor-el
  • Top 10 Contributor
  • Moderator
10752 solutions 96760 answers

Do you mean the (green) 'Go' button?

That Go button is by default part of the combined Stop/Reload/Go button and has id: #urlbar-go-button

Do you have the other two buttons (Stop and Reload) still somewhere on the Navigation Toolbar or did you drag them in the toolbar palette?

Modified by cor-el

Question owner

No there is a gray right arrow that has a green hover over effect. Within the textbox. It only appears when you start typing. I restarted without my customizations (which had hidden the refresh icon), and it looks like the refresh icon may actually be changing its icon. Or perhaps it's just being hidden and a new element is replacing it in the same position.

cor-el
  • Top 10 Contributor
  • Moderator
10752 solutions 96760 answers

Helpful Reply

Yes, that is the Go button. That button appears when you edit the URL on the location bar and can be used instead of the enter key.

Did you try that selector?

#urlbar-go-button { display:none!important; }

Question owner

I had tried that with no luck, even though

#urlbar-reload button {display: none !important; }

successfully hid the reload button inside the textbox. I looked nearby under <hbox id="urlbar-icons"> and found the selector for the actual image used for the go button:

#go-button { display:none!important; }

Using that, it worked just fine. Odd that it would work for urlbar-reload-button and not for urlbar-go-button. All 3 of the buttons have the same class, chromeclass-toolbar-additional. Also tried hiding that and it didn't work.

Whether or not it makes sense, I have a working solution. Thanks for the help!

Modified by cor-el

Question owner

missing a - on the urlbar-reload-button in my post above.

cor-el
  • Top 10 Contributor
  • Moderator
10752 solutions 96760 answers

There are two 'go' buttons.
The #urlbar-go-button is used when the combined Stop and Reload button are displayed in the location bar and the #go-button is used if you have moved the Stop and Reload buttons elsewhere.

Question owner

Sure enough. I had dragged off the stop and reload buttons. Learned some things that may be useful to someone.

If you have not removed the reload and stop buttons, you can expose them with right click > customize... When you exit customizing, those two buttons are combined into the address bar (textbox) itself if the reload button is to the left. If you change the order of the buttons (put stop to the left), they will no longer auto-combine and will remain separate buttons outside the textbox.

I also had the buttons be combined to a button outside of the textbox a few different times, but I never could figure out what combination of things or order of steps would cause it. There were times where I would re-order the stop and reload buttons, click done, right click > customize, re-order them again, and then rather than combining into the textbox they would combine into a separate button.

So if you are like me and you just wanted to remove all buttons period, you can just drag off the reload and stop buttons and then use the #go-button selector. If you are wanting to just remove one or the other, be prepared to experiment. Perhaps my situation is complicated by some addons or about:config modifications I did in the past and it is normally more straightforward.

Question owner

Here are all my userChrome.css modifications, in case anyone interested might stumble on this. Remove the backticks, wasn't sure how to format this properly.

This go button is only used if the stop and refresh buttons are on the navigation toolbar and the refresh button is to the left. That will cause them to be combined into a button within the textbox. If the stop button is on the right, they will stay separate buttons outside the textbox.

`#urlbar-go-button { display: none !important; }


For a clean, full-width url bar, drag all buttons off the navigation toolbar and use the following modifications.

`#urlbar-reload-button { display: none !important; }

`#urlbar-stop-button { display: none !important; }

`#star-button { display: none !important; }

`#identity-box { display: none !important; }

`#urlbar { padding: 5px 8px !important; margin: 1px !important; }

`.autocomplete-history-dropmarker { display: none !important; }

`#go-button { display:none !important; }


Disable automatic display of tab bar when mouse nears the top in full-screen mode

`#fullscr-toggler { display:none!important; }


Add a little extra horizontal padding to the folders and shortcuts on the bookmarks bar, and a little extra vertical padding to the bookmarks and folders within the folders on the bookmarks bar.

`#personal-bookmarks .bookmark-item {

padding: 8px 8px !important;

}

`#personal-bookmarks .bookmark-item menupopup .menuitem-iconic {

padding: 3px 0 !important;

}

`#personal-bookmarks .bookmark-item menu {

padding: 3px 0 !important;

}

Modified by darylnagode

Question owner

Some other handy tricks and information:

To find out what you want to modify, you can open chrome://browser/content/browser.xul and use an inspector like FireBug to find what selectors you need. The easiest way to get to the userChrome.css file is to open about:support, then click 'Show Folder' in the top table. Then you can just navigate to /chrome/userChrome.css. If you have never made modifications to the userChrome file, it may be titled userChrome-example.css. You can just rename it to userChrome.css.

Some of my favorite about:config tricks:

If you want the old options page in a separate window (instead of the new layout in a tab), change browser.preferences.inContent to false.

If you want to disable the animation of the top toolbars when going to fullscreen, change browser.fullscreen.animateUp to 0.

To disable the new 'new tab' page, you can click on the icon near the top right of the page. But then you still have an icon there instead of a blank page. If you are OCD like me and that bothers you, you can modify about:config entry browser.newtab.url. Change it from about:newtab to about:blank.

If you want to have the download manager automatically clear completed downloads, change browser.download.manager.retention to one of the following: 2 - default setting, will keep unless manually cleared 1 - list cleared when you exit firefox 0 - clear downloads as soon as they are completed

A useful normal setting: Tools > Options > Advanced > General Tab > Search for text when I start typing Comes in handy when you just need to jump to a word quickly. With regular find, if you click away you have to click the x or hit Ctrl-F again and then Escape to close it. Regardless of how you have it set, you can hit / to bring up quick find (or ' to quick find only link text). While in quick find, use Control-G or Ctr-Shift-G to step forward and backward through finds.

Modified by darylnagode