elieobeid7 0 Newbie Poster

I have created 2 google chrome extensions for 2 different websites that i have nothing to do with. the websites are not mine.

when you click on the extensions a login screen will popup, i want the users to be able to fill their login details and login to the websites from the extension itself without being redirected to the website.

how to do it? I did some research, and some said that i have to use auth javascript library but the author of the library says it's not that good, besides there's no documents about it, so any help would be HIGHLY APPRECIATED! THANK YOU :D