Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

A Problem with the Quick Find Bar

  • 2 Antworten
  • 1 hat dieses Problem
  • 7 Aufrufe
  • Letzte Antwort von Yaron

more options

Hi,

I’ve added the following line to userChrome.css, and FF opens the Quick Find Bar with the ‘Find Next’ and ‘Find Previous’ buttons.

.findbar-container > * { display:-moz-box !important; }

With Those buttons, there isn’t enough space in the Quick Bar, and when the description ‘End of Page’ (etc) shows – it is only partially displayed.

How do I change the label text from ‘Quick Search:’ to ‘Find:’?



And apropos the Find Bar.

I have a toolbar button which toggles the Find Bar on and off. I’d like that button to be checked when the Find Bar is visible, and unchecked when it is hidden.

I’ve added the following line to an xul file, and it works perfectly.

<command id="cmd_find" oncommand="gFindBar.onFindCommand(); setFindCkeckState();"/>

For some reason, FF ignores the "cmd_findClose" id.

<command id="cmd_findClose" oncommand="gFindBar.close(); setFindCkeckState ();"/>

Why? Is it possible to add an Event Listener for the Find bar being opened or closed? Can I check and uncheck that button in a css file? (That would be better).


Thanks.

Hi, I’ve added the following line to userChrome.css, and FF opens the Quick Find Bar with the ‘Find Next’ and ‘Find Previous’ buttons. .findbar-container > * { display:-moz-box !important; } With Those buttons, there isn’t enough space in the Quick Bar, and when the description ‘End of Page’ (etc) shows – it is only partially displayed. How do I change the label text from ‘Quick Search:’ to ‘Find:’? And apropos the Find Bar. I have a toolbar button which toggles the Find Bar on and off. I’d like that button to be checked when the Find Bar is visible, and unchecked when it is hidden. I’ve added the following line to an xul file, and it works perfectly. <command id="cmd_find" oncommand="gFindBar.onFindCommand(); setFindCkeckState();"/> For some reason, FF ignores the "cmd_findClose" id. <command id="cmd_findClose" oncommand="gFindBar.close(); setFindCkeckState ();"/> Why? Is it possible to add an Event Listener for the Find bar being opened or closed? Can I check and uncheck that button in a css file? (That would be better). Thanks.

Geändert am von Yaron

Alle Antworten (2)

more options

I use this command in a PrefBar button to toggle the Find bar on/off

if (gFindBar.hidden) gFindBar.onFindCommand(); else gFindBar.close();
more options

Thanks for the code.

I'd also like the button to be checked if I press Ctrl+F. Any idea? Is it possible to check and uncheck buttons in css?

I appreciate your help.