Source code

Revision control

Copy as Markdown

Other Tools

<script>
navigator.credentials.get({ 'password': true })
.then(c => {
window.parent.postMessage({
"status": "resolved",
"credential": c,
"exception": null
}, "*");
})
.catch(omg => {
window.parent.postMessage({
"status": "rejected",
"credential": null,
"exception": omg.name
}, "*");
});
</script>