diff --git a/autofill/index.html b/autofill/index.html
index ba27613..c6386d8 100644
--- a/autofill/index.html
+++ b/autofill/index.html
@@ -82,6 +82,14 @@
#debug-area pre.input-event {
background-color: rgb(137, 246, 226);
}
+
+ #debug-area pre.click-event {
+ background-color: rgb(246, 137, 193);
+ }
+
+ #debug-area pre.submit-event {
+ background-color: rgb(246, 186, 137);
+ }
@@ -103,7 +111,14 @@ Autofill Sucks
/>
-
+
+
+
@@ -114,7 +129,8 @@ Autofill Sucks
const firstName = document.getElementById("first-name");
const lastName = document.getElementById("last-name");
const email = document.getElementById("email");
- const submitButton = document.getElementById("submit");
+ const address = document.getElementById("address");
+ const submitButton = document.getElementById("submit-button");
const debugArea = document.getElementById("debug-area");
function log(message) {
@@ -146,7 +162,7 @@ Autofill Sucks
report(event);
};
- for (const input of [firstName, lastName, email]) {
+ for (const input of [firstName, lastName, email, address]) {
input.onchange = report;
input.oninput = report;
input.onfocus = report;