PageSourceSearch

https://www.nomorobo.com/2022/js/auth/show-password.js

js nomorobo.com collected 2026-10-02 03:52:06 UTC 612 bytes, 16 lines download raw bytes

1function togglePasswordInput(input, icon) {
2    const hidePassword = input.type === 'text';
3    input.type = hidePassword ? 'password' : 'text';
4    icon.classList.remove(hidePassword ? 'flaticon-hidden' : 'flaticon-visible');
5    icon.classList.add(hidePassword ? 'flaticon-visible' : 'flaticon-hidden');
6}
7
8document.querySelectorAll('span.btn-show-pass').forEach((button) => {
9    const wrapper = button.parentElement;
10    button.addEventListener('click', () => {
11        togglePasswordInput(
12            wrapper.querySelector('input'),
13            wrapper.querySelector('span.eye-pass'),
14        );
15    })
16})

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.