# content-protector/3.5.5.9/assets/public/password-typing.js

Passster – Password Protect Pages and Content, version 3.5.5.9. 10 lines.

- Page: https://pluginprobe.com/plugins/content-protector/3.5.5.9/code/assets/public/password-typing.js
- Raw: https://pluginprobe.com/plugins/content-protector/3.5.5.9/raw/assets/public/password-typing.js
- Modified: 2023-01-29T10:26:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/content-protector/3.5.5.9/code/assets/public/password-typing.js#L10-L20`.

```javascript
function showPassword() {
    var input = document.getElementsByClassName("passster-password");
    var input = input[0];

    if (input.type === "password") {
        input.type = "text";
    } else {
        input.type = "password";
    }
} 
```
