blob: 20211866ae9a7f0613dd143769caafb3b56de0bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<h2>MP subtest</h2>
This form triggers a MP and gets filled in.<br>
<form>
Username: <input type="text" id="userfield" name="u"><br>
Password: <input type="password" id="passfield" name="p"><br>
<script>
// Only notify when we fill in the password field.
document.getElementById("passfield").addEventListener("input", function() {
parent.postMessage("filled", "*");
});
</script>
</form>
|