mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-07 00:48:56 +00:00
13 lines
412 B
HTML
13 lines
412 B
HTML
<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>
|