分享網上的2種辦法:
1-可以在不需要默認填寫的input框中設置 autocomplete="new-password"(已實測,有效)
網上咱沒有找到對其詳細解釋,但是發現163郵箱的登錄注冊是這么用的,
2-在會自動填充內容在form表單的第一個Input前添加一個隱藏的input type="password"(待驗證):
<input type="password" style="display: none"> <!-- 用於禁止瀏覽器自動填充的 -->
參考網址:
分享網上的2種辦法:
1-可以在不需要默認填寫的input框中設置 autocomplete="new-password"(已實測,有效)
網上咱沒有找到對其詳細解釋,但是發現163郵箱的登錄注冊是這么用的,
2-在會自動填充內容在form表單的第一個Input前添加一個隱藏的input type="password"(待驗證):
<input type="password" style="display: none"> <!-- 用於禁止瀏覽器自動填充的 -->
參考網址:
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。