Microsoft login password filling issues

This seems to be new possibly due to some changes MS made in the past few weeks/months. In the https://login.microsoftonline.com page, which you visit when logging into Azure (etc.) the password filling doesn’t work. It seems to try to fill it in because you can see the password ********* characters briefly appear, but then the field clears out immediately.

It still works for me. The field does not get cleared out. Are you sure you have followed all of the troubleshooting steps like ensuring no other extensions are conflicting with Kee’s attempt to fill out forms?

I disabled every extension except Kee and the behavior remains.

Sometimes new form layouts are rolled out gradually so possibly you are seeing a different version to me but even when I try with a manual fill (which I understand from your other recent post is the type of fill operation you use) I can’t reproduce that problem.

Do you normally have auto-submit enabled after you manually fill the entry? That also works for me but it might be worth you trying with that disabled in order to narrow down the cause of the issue. For example, if the auto-submit system is detecting something like a “clear form” button rather than the submit button, this sort of behaviour could be seen.

I do not have autosubmit on, so maybe that is the issue. I like to see what is entered and manually click through rather than have it be automatic.

I worked around this issue with a Tampermonkey userscript that just re-enters the Kee password a few moments after the form is cleared.

If anybody else has this issue, here is the code…

// ==UserScript==
// @name         Microsoft Logon - workaround for Kee's password filling getting cleared out
// @namespace    http://avianwaves.com/
// @version      0.1
// @description  Microsoft Logon - workaround for Kee's password filling getting cleared out
// @author       You
// @match        https://login.microsoftonline.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @require      http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// ==/UserScript==

var input;
var handle;
var pw;

function restorePassword() {
    if (input.length) {
        input.val(pw);
        $(this).prevAll('input:first').focus();
        input.focus();
    }
}

function FindPasswordField() {
    input = $("input[name=passwd]");
    if (input.length) {
        input.on("change",function() {
            pw = $(this).val();
            setTimeout(restorePassword, 50);
        });
        clearInterval(handle);
    }
}

(function() {
    'use strict';
    $("body").prepend('<h2>This logon page is being modified by a userscript to fix an issue where Kee\'s password entry gets cleared out.</h2>');
    handle = window.setInterval(FindPasswordField, 200);
})();
1 Like