Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

remove the hint in the address bar

  • 3 trả lời
  • 0 gặp vấn đề này
  • 51 lượt xem
  • Trả lời mới nhất được viết bởi 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.
Đính kèm ảnh chụp màn hình

Giải pháp được chọn

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 */}
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (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

Giải pháp được chọn

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 !