Schmactor,
THANK YOU for the script.
I have been using Greasemonkey for many years to write user scripts (to be used with Firefox) ... so I attempted write a Greasemonkey script to match your script (as you know, the corresponding Greasemonkey script is essentially identical to your script).
Unfortunately, I could not get my Greasemonkey script to work. I use the following code snippet to try and find out why my script was not working ...
[...]
var elmLink = document.getElementById("i0281");
if (elmLink == null) {alert("was null");}
if (elmLink != null) {alert("was NOT null");}
[...]
The above code produced a popup that said "was null" ... which tells me that for some reason my script could not find element ID = "i0281".
I tried my script with i0281 in single quotes with the same results.
I use the "Inspector" function of Firefox and verified that element i0281 did exist in the Sign On page's HTML code. Here's the first few lines ...
<form name="f1" id="i0281" novalidate="novalidate" spellcheck="false" method="post" target="_top" autocomplete="off" data-bind="submit: submit, autoSubmit: forceSubmit, attr: { action: postUrl }" ...
It just seems like my script is not seeing Element ID i0281.
For debugging purposes, I searched the Sign On page's HTML for other Element IDs, and changed xxxx in this line ...
var elmLink = document.getElementById("xxxx");
... to try to find other Elements ... but same results.
I suspect the problem is on my computer but I am at a loss to figure it out.
If you have any ideas or thoughts, I would appreciate them.
In any case, I totally agree with your point ... the fix for this issue is simple .... in the Sign On page's HTML, all that Microsoft needs to do is either remove autocomplete="off" or change it to autocomplete="on". [I tried this using Firefox's Inspector,
and it worked ... with autocomplete set to "on" the Sign On page showed a list of matching addresses after I typed the first character of my email address (in to the Sign On page].