mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
parent
c2c31f51af
commit
e3827df1a0
4 changed files with 20 additions and 9 deletions
|
|
@ -2,11 +2,6 @@
|
|||
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>
|
||||
Password: <input type="password" id="passfield" name="p"
|
||||
oninput="parent.postMessage('filled', '*');"><br>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue