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

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

- Page: https://pluginprobe.com/plugins/content-protector/4.2.13/code/assets/public/password-typing.js
- Raw: https://pluginprobe.com/plugins/content-protector/4.2.13/raw/assets/public/password-typing.js
- Modified: 2025-02-03T12:07:02+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/4.2.13/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";
    }
} 
```
