OktaSecurityLabs / passprotect-js

A simple JavaScript library to help you protect your users' passwords
https://www.passprotect.io
MIT License
149 stars 20 forks source link

Ajax based load support #8

Open zdhayaz opened 5 years ago

zdhayaz commented 5 years ago

Hi, I am trying to add the passprotect.js into a AJAX page where the password box is added to DOM after two or three forms of authentication.

I cant get the script to work on that case as i believe the javascript just validates the page at start and then does nothing when DOM changes.

How can i use the script in that circumstances. Any other ideas ?