搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to Remove "From This Website" on autocomplete password

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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
已附加屏幕截图

由[]于修改

被采纳的解决方案

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.

定位到答案原位置 👍 2

所有回复 (4)

more options

选择的解决方案

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!

由bugomatic于修改

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!