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

CSS code to remove this block of text from the "extensions" menu?

  • 5 trả lời
  • 1 gặp vấn đề này
  • 19 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

Hello,

What is the CSS code to remove the following block of text from the extensions menu?

https://i.postimg.cc/85svkSXk/extensions-menu.jpg


Cheers.

Hello, What is the CSS code to remove the following block of text from the extensions menu? https://i.postimg.cc/85svkSXk/extensions-menu.jpg Cheers.
Đính kèm ảnh chụp màn hình

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

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (5)

more options

The about:addons page is an HTML page and this code needs to be in userContent.css to hide the notice.

You can add this code to the userContent.css file.


@-moz-document url-prefix(about:addons){
 #private-browsing-notice { display:none !important }
}

Được chỉnh sửa bởi cor-el vào

more options

The message is still present on this one as well after applying that code as well.

more options

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

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

Được chỉnh sửa bởi cor-el vào

more options

cor-el said

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

Removing the top part took care of it.

Thanks again sir.

more options

If there is any data appended on the location bar after about:addons then you have to use url-prefix() instead of url() if that line is what you are referring to. This is probably better anyway. This line specifies where this code should be applied.