Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

FireFox for Mac will NOT save twitter login credentials

  • 4 trả lời
  • 0 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I've followed all the steps that I have found online to make FireFox for Mac to remember twitter login credentials to no avail. All other websites offer to save details. Is there something obscure with Twitter logins? Chrome does this but I need to get rid of Chrome as it is not as secure as FF

Any ideas please? I'm using Sonoma as my OS....

Kind regards

Peter

I've followed all the steps that I have found online to make FireFox for Mac to remember twitter login credentials to no avail. All other websites offer to save details. Is there something obscure with Twitter logins? Chrome does this but I need to get rid of Chrome as it is not as secure as FF Any ideas please? I'm using Sonoma as my OS.... Kind regards Peter

Tất cả các câu trả lời (4)

more options

Is this about saving a login the the Password Manager (about:logins) or about a website remembering you (log you in automatically)?

The latter is about keeping a special session ID cookie.

Do you see "Manage Logins" if you right-click the username and password fields ? If that isn't the case then Firefox doesn't seem to recognize the field as part of a login form. You can possibly create a new login via the about:logins page (Password Manager).

more options

I have read that this problem that I have has been around for a long time and is not solvable, something to do with the way Twitter codes it's login user name field.

It works with Chrome for Mac so I guess I'll retain Chrome just for my Twitter work ;-)

Many thanks for the reply ;-)

more options

The Twitter password field autofills for me but not the initial username field. If you retain cookies you won't need to login every time.

more options

Firefox has a problem when a username field has an autocomplete attribute with a special value like in this case autocomplete="name". In some cases there can also be a problem with a password field that isn't placed properly in the DOM.

You can fix the login form to make it work with Firefox using this JavaScript bookmarklet. You can create a new bookmark on the Bookmarks Toolbar and paste the JavaScript code in its URL field like you would normally create a bookmark. You need to click the username field to set focus to this input field and then click the bookmarklet button to invoke its JavaScript code. You should get an alert dialog that the input field is fixed, you can close this dialog. You may have to use "Use Saved Login" in the right-click context menu of the username field.

javascript:/*LOGIN:fix-username-password::2023/10/22*/(function(){
var I=1,P=['<fixed-autocomplete>','<fixed-type>','<removed-pwd>','<created-pwd>'],Z=[];
var A=document.activeElement,N=A.nodeName.toLowerCase(),E;

if(N!='input'){
A=prompt('Active element:'+N+'\n\nEnter #ID of username field','#username');
if(/^#/.test(A)){
A=document.querySelector(A);
N=A.nodeName.toLowerCase()}
}

if(N=='input'){
if(A.hasAttribute('autocomplete')&&!/(on|off)/.test(A.getAttribute('autocomplete'))){
A.removeAttribute('autocomplete');
Z.push(P[0])
}
if(!/^text|email|password$/.test(A.getAttribute('type'))){
A.setAttribute('type','text');
Z.push(P[1])
}

if(/^text|email$/.test(A.getAttribute('type'))){
if(E=A.parentNode.querySelector('input[hidden][type=password]')){
E.parentNode.removeChild(E);Z.push(P[2])
}else{
E=document.createElement('input');
E.hidden='true';
E.type='password';
A.parentNode.appendChild(E);
Z.push(P[3])
}}}
if(I){alert('active::'+N+(Z.length>0?'\n'+Z.join('\n'):': <not input>'))}
})()

Được chỉnh sửa bởi cor-el vào