Page 1 of 1

Detect LastPass in javascript

PostPosted: Thu Jan 10, 2019 5:42 pm
by paolopaolo882
I'm using a chat widget on my site which works fine in incognito window (Chrome).

Unfortunately LastPass and this widget don't play well together because the development console shows this error repeatedly:

Code: Select All Code
Uncaught (in promise) TypeError: Cannot read property 'querySelectorAll' of null
    at e.getInputs (onloadwff.js:79)
    at e.<anonymous> (onloadwff.js:79)
    at onloadwff.js:79
    at Object.next (onloadwff.js:79)
    at a (onloadwff.js:79)


Is there a way, using Javascript, to detect if the browser has LastPass installed? In this case I wouldn't load the chat as a workaround. TIA