Skip to content

Javascript Hacking


Replace all astrix that is "PASSWORD" With with "TYPE" To not hide the passwords

 ```bash
 let inputFields = document.querySelectorAll('input[type="password"]');
 inputFields.forEach(input => input.type = 'text');
 ```

Show all hidden and none blocks

 ```bash
 document.querySelectorAll('*').forEach(el => {
     if (el.offsetParent === null && el.type !== 'hidden') {
         el.style.display = 'block';
         el.style.visibility = 'visible';
     }
 });
```