Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

remove the hint in the address bar

  • 3 件の返信
  • 0 人がこの問題に困っています
  • 32 回表示
  • 最後の返信者: Giuseppe

more options

Hi, is there a way to remove the hint in the address bar - "search with ... or enter the address", leave only the blinking cursor? thanks.

Hi, is there a way to remove the hint in the address bar - "search with ... or enter the address", leave only the blinking cursor? thanks.
添付されたスクリーンショット

選ばれた解決策

That is the placeholder text that shows the action for the default search engine. Note that CSS code for the user interface goes in userChrome.css, userContent.css is for styling webpages including built-in about pages.

Add CSS code to the userChrome.css file in the chrome folder in the Firefox profile folder. Either of the two codes should work to hide this text.


#urlbar *|input::placeholder {
 color: transparent !important;
 opacity: 0 !important;
}
#urlbar *|input::placeholder:hover {/* add code to override this on hover */}
この回答をすべて読む 👍 1

すべての返信 (3)

more options

thank you for your answer, I have userContent.css to improve the design of firefox, can you suggest a solution?

more options

選ばれた解決策

That is the placeholder text that shows the action for the default search engine. Note that CSS code for the user interface goes in userChrome.css, userContent.css is for styling webpages including built-in about pages.

Add CSS code to the userChrome.css file in the chrome folder in the Firefox profile folder. Either of the two codes should work to hide this text.


#urlbar *|input::placeholder {
 color: transparent !important;
 opacity: 0 !important;
}
#urlbar *|input::placeholder:hover {/* add code to override this on hover */}
more options

Thank you, cor-el !