Add (semi-)support for sites with no site configs:
* If no site config is present, build a dummy one
* Then show Waltz on the page if a login form is detected
Show error or acknowledge login after login attempt on a non-site-config site
delete cookies from base domain on logout
use login form even if it is hidden, click button if on anonymous form page
* Use domain instead of hostname as anonymous site key, domain, etc.
* Don't init Waltz only when there is no current login waiting to be acknowledged
Add DOM Mutation Observer to detect login inputs that are added dynamically
* re-detect the login form
* for forms that are submitted via ajax, acknowledge the login attempt dynamically as well
Simplify page detection logic
* Remove checking pages at intervals
* Use DOM Mutation Observers to check pages and perform actions
* Remove handling of page types which hid Waltz. Instead, we just never kickOff.
split out building site options into separate function
Ignore the Waltz credential form when detecting the login form.
Otherwise, sometimes the Waltz form can be detected when it is loaded.
add workaround for 'Change email' forms, like Mixpanel's
only detect proper forms, since we don't yet handle non-form login forms
* minor refactoring
* fix a bug when submitting login form by clicking button
handle errors for ajax logins by resetting the kickedOff state
add a comment
add formOnly requirement
fix typos
only find login forms that are visible
Prevent login overlay from flashing and detect ajax errors in a different way:
* ajax login errors are detected by checking for the login form a few seconds after a form submit
Instead of cloning login fields and filling and hiding the clones, Waltz
now clones the fields and positions them on top of the actual ones, filling
the actual ones instead (for validation reasons).
initial progress