搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Form Fields Autofilling Despite autocomplete="nofill" or autocomplete="off" ( Autocomplete is needed for some fields but not for others, so it cannot be controlled at the settings level)

  • 無回覆
  • 0 有這個問題
  • 12 次檢視
more options

Hello Firefox Support Team,

I’m experiencing an issue where Firefox is autofilling form fields even when the autocomplete attribute is explicitly set to values like "off" or "nofill".

<form>

   <label for="username">Username:</label>
   <input type="text" id="username" name="username" autocomplete="nofill">
   
   <label for="password">Password:</label>
   <input type="password" id="password" name="password" autocomplete="off">

</form>

Despite trying several variations, Firefox continues to autofill these fields.

Could you clarify:

Is this expected behavior in Firefox? Are there specific guidelines or workarounds to prevent autofill in cases where it is not desired? Are there any browser settings or configurations that could override the autocomplete attribute? - Autocomplete is needed for some fields but not for others, so it cannot be controlled at the settings level Any help or guidance would be greatly appreciated!

Hello Firefox Support Team, I’m experiencing an issue where Firefox is autofilling form fields even when the autocomplete attribute is explicitly set to values like "off" or "nofill". <form> <label for="username">Username:</label> <input type="text" id="username" name="username" autocomplete="nofill"> <label for="password">Password:</label> <input type="password" id="password" name="password" autocomplete="off"> </form> Despite trying several variations, Firefox continues to autofill these fields. Could you clarify: Is this expected behavior in Firefox? Are there specific guidelines or workarounds to prevent autofill in cases where it is not desired? Are there any browser settings or configurations that could override the autocomplete attribute? - '''Autocomplete is needed for some fields but not for others, so it cannot be controlled at the settings level''' Any help or guidance would be greatly appreciated!
附加的畫面擷圖

由 Raghava Sravani dasari 於 修改

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題