Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Search Bar : "Go button only appears when text in the bar"

  • 2 odpowiedzi
  • 2 osoby mają ten problem
  • 2 wyświetlenia
  • Ostatnia odpowiedź od Raudius

more options

With the new update they have made it so that the "Search" button in the "Search bar" only appears when there is text on it.

While probably a minor (in)convinence for most, it had become a browsing habit for me, to middle mouse click the search in an empty search to take me to "google.com" in a new tab (or whatever search engine was set).

I would like to know if its possible to tweak something in order to bring back the search button so it stays there. I know there is easy workarounds for this (bookmark comes to mind), but having browsed like this for many years I would like to continue doing so if possible.

Thanks

With the new update they have made it so that the "Search" button in the "Search bar" only appears when there is text on it. While probably a minor (in)convinence for most, it had become a browsing habit for me, to middle mouse click the search in an empty search to take me to "google.com" in a new tab (or whatever search engine was set). I would like to know if its possible to tweak something in order to bring back the search button so it stays there. I know there is easy workarounds for this (bookmark comes to mind), but having browsed like this for many years I would like to continue doing so if possible. Thanks

Wybrane rozwiązanie

Hmm, it takes a little doing, but I think so.

When the bar is empty, the code that generates the little image of the arrow has a new attribute set, which is hidden="true". There is a corresponding style rule to suppress the arrow when hidden="true". You can use a custom style rule to override the built-in rules, and apply it to the interface using either:

This is a rule you could use:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
searchbar .search-go-button[hidden="true"] {
  display: -moz-box !important;
}

I have attached an image of how this looks when you create a new blank rule in Stylish, paste that in, and click the Preview button.

Przeczytaj tę odpowiedź w całym kontekście 👍 1

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

Hmm, it takes a little doing, but I think so.

When the bar is empty, the code that generates the little image of the arrow has a new attribute set, which is hidden="true". There is a corresponding style rule to suppress the arrow when hidden="true". You can use a custom style rule to override the built-in rules, and apply it to the interface using either:

This is a rule you could use:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
searchbar .search-go-button[hidden="true"] {
  display: -moz-box !important;
}

I have attached an image of how this looks when you create a new blank rule in Stylish, paste that in, and click the Preview button.

more options

It's a christmas miracle, the button is back!

Thank you very much for your quick response.

Zmodyfikowany przez Raudius w dniu