Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

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".

Tìm hiểu thêm

How to Remove "From This Website" on autocomplete password

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

more options

Refer to [https://support.mozilla.org/en-US/que.../1334293]

On firefox before version 105 i can use parameter on about:config page

1. signon.showAutoCompleteOrigins = to hide the "From This Website" 2. signon.showAutoCompleteFooter = to hide the "View Saved Login" button

Now on firefox version 106 parameter number 1 doesn't work (doesn't hide "From This Website")

How can i hide "From This Website" ? is it a bug or is there any other way

Refer to [[https://support.mozilla.org/en-US/questions/1334293]] On firefox before version 105 i can use parameter on about:config page 1. signon.showAutoCompleteOrigins = to hide the "From This Website" 2. signon.showAutoCompleteFooter = to hide the "View Saved Login" button Now on firefox version 106 parameter number 1 doesn't work (doesn't hide "From This Website") How can i hide "From This Website" ? is it a bug or is there any other way
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi [] vào

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

That preference was removed, but I can't tell why. It seems related to other work on form autocomplete.

You may have come across the idea of modifying Firefox's user interface using style rules in a userChrome.css file. This is a community-supported workaround and isn't officially supported. Using this method, you could hide the lines with "From this website" using this method (although I think this is literal and only works for English versions of Firefox):

  /* Suppress "From this website" on Logins drop-down */
  .autocomplete-richlistitem[ac-label*="From this website"] .line2-label {
    display: none !important;
  }


If you are new to this kind of style hacking, we can provide detailed steps. You also could check my page here:

https://www.userchrome.org/how-create-userchrome-css.html

In Step 5, ignore the first 3 paragraphs and start with the one that says "Alternately" where you can generate a downloadable file by pasting in the above style rule.

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

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

more options

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

That preference was removed, but I can't tell why. It seems related to other work on form autocomplete.

You may have come across the idea of modifying Firefox's user interface using style rules in a userChrome.css file. This is a community-supported workaround and isn't officially supported. Using this method, you could hide the lines with "From this website" using this method (although I think this is literal and only works for English versions of Firefox):

  /* Suppress "From this website" on Logins drop-down */
  .autocomplete-richlistitem[ac-label*="From this website"] .line2-label {
    display: none !important;
  }


If you are new to this kind of style hacking, we can provide detailed steps. You also could check my page here:

https://www.userchrome.org/how-create-userchrome-css.html

In Step 5, ignore the first 3 paragraphs and start with the one that says "Alternately" where you can generate a downloadable file by pasting in the above style rule.

more options

jscher2000, you are a lifesaver! I absolutely abhor the presence of numerous "From this website" lines in that dropdown, and your userChrome.css eliminated that for me.

I should mention, I also tried using your selectors/properties placed into a CSS sheet using the "Stylus" add-on for applying client-side CSS (which is how I would usually address such things). But when attempted it there, it had no effect. Unfortunately, I am not a Stylus whiz, so I'm not sure if I was using it 100% correctly. Anyway, userChrome.css it is, for now.

By the way, how on earth did you identify that selector class? I had a bear of a time trying to locate it using Dev Tools, as of course, you can't right-click on the darn thing (it just goes away) to use "inspect," and the "targeting" tool can't find it either. I never could nail it down. Plus I have the weakness of not being familiar with FF source code, so that doesn't help!

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

more options

Hi, yes, Stylus can't touch user interface bits, only the stuff in the page that comes from the website.

There is a meta-Inspector in the Browser Toolbox that you can use to inspect UI elements like context menus: https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html

more options

Excellent! Thank you so much!