PageSourceSearch

https://www.smallchange.co/static/js/show_password.js

js smallchange.co collected 2026-10-03 21:26:25 UTC 373 bytes, 13 lines download raw bytes

1function showPassword(elm) {
2  var icon = elm.querySelector('i');
3  icon.classList.toggle("fa-eye");
4  icon.classList.toggle("fa-eye-slash");
5
6  var parent = elm.parentElement;
7  var input = parent.querySelector('input');
8  if (input.getAttribute('type') === 'password') {
9    input.setAttribute('type', 'text');
10  } else {
11    input.setAttribute('type', 'password');
12  }
13}

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.