How does Lastpass know the current URL in Chrome

Have questions about LastPass, or having problems using it? Ask for help here!

Moderators: admin, anatoly_LP, chantieLP, Israel, JoeSiegrist, robyn

How does Lastpass know the current URL in Chrome

Postby eleorlova9496 » Thu Jan 10, 2019 6:27 am

When browsing around in Chrome for Android, Lastpass pops up with suggestions if it recognizes the URL as one you have associated login details with.

How does it know which URL Chrome is looking at? I know that Lastpass makes use of Accessibility Services, but I wonder how it queries the current URL from Chrome.

PS. Apparently it only works for Chrome (it doesn't pop up in Opera for example) so it might be something Chrome specific.
eleorlova9496
 
Posts: 2
Joined: Tue Jan 08, 2019 6:00 am

Re: How does Lastpass know the current URL in Chrome

Postby eleorlova9496 » Sat Jan 12, 2019 1:07 am

eleorlova9496 Wrote:When browsing around in Chrome for Android, Lastpass pops up with suggestions if it recognizes the URL as one you have associated login details with.

How does it know which URL Chrome is looking at? I know that Lastpass makes use of Accessibility Services, kodi.link but I wonder how it queries the current URL from Chrome.

PS. Apparently it only works for Chrome (it doesn't pop up in Opera for example) so it might be something Chrome specific.


Any suggestion ???
eleorlova9496
 
Posts: 2
Joined: Tue Jan 08, 2019 6:00 am

Re: How does Lastpass know the current URL in Chrome

Postby sanctempdyra712 » Sat Jan 12, 2019 3:07 am

LastPass on Android asks for Accessibility permission with canRetrieveWindowContent true. This lets it traverse the current view hierarchy, and access the views as AccessibilityNodeInfo objects.

Accessibility API lets you search nodes by the text displayed on the view, and also gives you java class name of each such view.

The feature doesn't work on Opera probably because the devs never handled the view hierarchy traversing logic for it.
sanctempdyra712
 
Posts: 5
Joined: Wed Oct 10, 2018 5:56 am


Return to General Support & Troubleshooting

Who is online

Users browsing this forum: No registered users and 79 guests