Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

Save one autofill entry for usernames across all sites?

  • 4 wótegrona
  • 0 ma toś ten problem
  • Slědne wótegrono wót ballakoala

more options

I have a unique annoyance wherein I use a considerably long email address for many sites. I've gotten tired of typing it out whenever it comes up and wish for it to be preserved as an autofill across all sites so I no longer have to, similar to how your phone may suggest your email address in autocomplete.

Unfortunately, as far as I can tell, you can only manually add autofills for specific sites and with password attached. So my question is, is there a way to make the address be a suggested autofill on username/email address boxes across all sites?

(not interested in having form history saved, just want this one specific form entry)

I have a unique annoyance wherein I use a considerably long email address for many sites. I've gotten tired of typing it out whenever it comes up and wish for it to be preserved as an autofill across all sites so I no longer have to, similar to how your phone may suggest your email address in autocomplete. Unfortunately, as far as I can tell, you can only manually add autofills for specific sites and with password attached. So my question is, is there a way to make the address be a suggested autofill on username/email address boxes across all sites? (not interested in having form history saved, just want this one specific form entry)

Wubrane rozwězanje

You can search the Add-ons website for a suitable form fill extension.

You can possibly use a bookmarklet to fill this email address in the currently selected input field. You can create a new bookmark and paste the JavaScript code in its URL field where you would normally enter the address of the website, you need to modify the U variable to your email address. Click in the username field to set focus to this field and click the bookmarklet to fill the U variable.

javascript:/*LOGIN:fill-username*/(function(){var A=document.activeElement,U='email@site.com'; if((A.nodeName.toLowerCase()=='input')&&(A.getAttribute('type')=='text')){if((U=prompt('username',U))!=null){A.value=U}}})()

Toś to wótegrono w konteksće cytaś 👍 1

Wšykne wótegrona (4)

more options

Wubrane rozwězanje

You can search the Add-ons website for a suitable form fill extension.

You can possibly use a bookmarklet to fill this email address in the currently selected input field. You can create a new bookmark and paste the JavaScript code in its URL field where you would normally enter the address of the website, you need to modify the U variable to your email address. Click in the username field to set focus to this field and click the bookmarklet to fill the U variable.

javascript:/*LOGIN:fill-username*/(function(){var A=document.activeElement,U='email@site.com'; if((A.nodeName.toLowerCase()=='input')&&(A.getAttribute('type')=='text')){if((U=prompt('username',U))!=null){A.value=U}}})()

Wužytny?

more options

cor-el said

You can search the Add-ons website for a suitable form fill extension. You can possibly use a bookmarklet to fill this email address in the currently selected input field. You can create a new bookmark and paste the JavaScript code in its URL field where you would normally enter the address of the website, you need to modify the U variable to your email address. Click in the username field to set focus to this field and click the bookmarklet to fill the U variable.
javascript:/*LOGIN:fill-username*/(function(){var A=document.activeElement,U='email@site.com'; if((A.nodeName.toLowerCase()=='input')&&(A.getAttribute('type')=='text')){if((U=prompt('username',U))!=null){A.value=U}}})()

I like the javascript idea, had to make a small edit so it would work for email type fields too and should now cover my issue, thanks for the idea and code!!

edited version for email type too: javascript:/*LOGIN:fill-username*/(function(){var A=document.activeElement,U='emailaddress@site.com'; if((A.nodeName.toLowerCase()=='input')&&(A.getAttribute('type')=='text')||(A.getAttribute('type')=='email')){if((U=prompt('username',U))!=null){A.value=U}}})()

Wužytny?

more options

You can possibly use a regular expression to make it easier to add other types or if you want to adapt it to username fields with an autocomplete attribute that Firefox doesn't handle properly.

javascript:/*LOGIN:fill-username*/(function(){var A=document.activeElement,U='email@site.com'; if((A.nodeName.toLowerCase()=='input')&&/^(text|email)$/.test(A.getAttribute('type'))){if((U=prompt('username',U))!=null){A.value=U}}})()

Wužytny?

more options

cor-el said

You can possibly use a regular expression to make it easier to add other types or if you want to adapt it to username fields with an autocomplete attribute that Firefox doesn't handle properly.
javascript:/*LOGIN:fill-username*/(function(){var A=document.activeElement,U='email@site.com'; if((A.nodeName.toLowerCase()=='input')&&/^(text|email)$/.test(A.getAttribute('type'))){if((U=prompt('username',U))!=null){A.value=U}}})()

Oh ty this will make it way easier to update if I run into any oddly typed fields! Had to frankenstein what I added from your code cause I'm not too familiar with java so adding more wouldve been annoying lol

Wužytny?

Stajśo pšašanje

Musyśo se pla swójogo konta pśizjawiś, aby na pśinoski wótegronił. Pšosym stajśo pšašanje, jolic hyšći njamaśo wužywaŕske konto.