針對chrome與firefox內核
<input type='text' style='display:none'> <!-- 針對firefox --> 用戶名:<input type='text' autocomplete='off'> 密碼:<input type='password' autocomplete='new-password'>
或
<input type='password' autocomplete="new-password" style="" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);" />>