Last active
July 14, 2021 12:04
-
-
Save panekj/fc6fb5befc0eb2e12d5b606f2957ec8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SSPR Button Start | |
function ssprButton() { | |
$("a#loginBtn").ready(function(){ | |
$('a#loginBtn').after('<br><a id="ssprBtn" href="https://passwordreset.microsoftonline.com/?whr=domain.tld" target="_blank" class="button forms-authentication-button last-child default">Password Reset</a>'); | |
}); | |
setTimeout(function(){ | |
if(document.getElementById('ssprBtn') != null){ | |
clearInterval(timer); | |
} | |
}, 500); | |
} | |
var timer = setInterval(ssprButton, 2000); | |
// SSPR Button End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment