Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

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

How to Remove "From This Website" on autocomplete password

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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
Attached screenshots

Modified by []

Chosen solution

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.

Read this answer in context 👍 2

All Replies (4)

more options

Chosen Solution

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!

Modified by 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!