PageSourceSearch

https://www.mealtrain.com/content/js/hide-show-password.js

js mealtrain.com collected 2026-10-01 09:20:19 UTC 522 bytes, 12 lines download raw bytes

1document.querySelectorAll(".hide-reveal-password-button").forEach(icon => {
2    // Password field must be a sibling of the reveal button
3    const passwordField = icon.parentElement.querySelector("input.hide-reveal-password");
4    icon.addEventListener("click", () => {
5        if (passwordField.type === "password") {
6            passwordField.type = "text";
7        } else if (passwordField.type === "text") {
8            passwordField.type = "password";
9        }
10        passwordField.focus();
11    });
12});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.