Can anyone fix the history dropbox for the searchbox for Firefox 24
Some time ago i've added a modification to the file "userChrome.css" to open a dropbox in the searchbox to show the search history.
This is a very handy feature and i don't understand why this isn't a basic item of Firefox.
Because i can't write modifications like that myself, i was very happy someone else did it, so i could simply copy and paste it into userChrome.css.
But sadly this modification doesn't seem to work any more since i installed Firefox 24.
The source of the info: https://support.mozilla.org/en-US/questions/925149
The modification to userChrome.css:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* Searchbar History */ #searchbar .autocomplete-history-dropmarker { -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker"); display:-moz-box !important; -moz-appearance: toolbarbutton-dropdown !important; }
Can this be fixed for Firefox 24+ ?
Wot cor-el
Wšě wotmołwy (8)
Try getting rid of the -moz in -moz-binding, -moz-box, and -moz-appearance.
This code still works for me in Firefox 24.
Make sure that remember search and form history is enabled and that you aren't in Private Browsing mode (Firefox won't remember new data in PB).
Does other code in the userChrome.css file work?
#searchbar .autocomplete-history-dropmarker { -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker"); display:-moz-box !important; -moz-appearance: toolbarbutton-dropdown !important; }
Thanks for your reply edmeister.
Sadly the -moz solution doesn't work.
Tried all possible combinations:
- 1 time without all 3 -moz
- 3 times without 2 -moz
- 3 times without 1 -moz
You need the -moz prefix as those properties are special Mozilla additions.
Can you confirm that other code in the file works?
Make sure the file doesn't have a hidden .txt file extension.
You can check the userChrome.css file with only this code.
Hi cor-el,
It's the only code in userChrome.css, there's nothing else inside.
I just tried to switch off some of my other add-ons and i think i found the culprit.
When i switch off Organize Search Engines the searchbar dropbox works again.
With Organize Search Engines enabled the button inside the searchbar is still visible, but nothing happens when i click it.
Any idea what could cause this ? When i reinstall Firefox 23.0.1 there's no problem at all.
It looks like it's some combination of Organize Search Engines, Firefox 24 and this code. Maybe i should contact Dr. Evil about this conflict with Organize Search Engines.
Thanks for your time cor-el, your first answer, that it still worked on your Firefox 24, made me think about checking my other add-ons for a conflict, and thanks a million for that searchbar dropbox code for userChrome.css, it's awesome !!!
If that extension is causing problems then you will have to disable it for now.
I would be a good idea to contact its developer to see if he knows a solution or workaround.
Note that themes also can cause such code to stop working.
Yep, i think it's best to contact Dr. Evil about this conflict, hopefully he can fix it.
It's not a big deal to switch off Organize Search Engines for the moment. It's not an add-on that needs to be enabled all the time to be functional. As it's name mentions it's only needed when you want to organize your search engines.
Thanks for the warning about using themes, but i only use the basic theme and have no other themes installed.
Have a great day !!!
You're welcome