Login to multiple sites from one site using javascript? [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
开发者_如何转开发 Improve this questionIs it possible to let an user login to multiple websites from my website using javascript?
Short Answer: Not with Javascript
Long Answer: With a server side language such as PHP, this could be possible depending on whether or not the websites that you want to remotely log into allow for such behavior. I'm not sure exactly what you want to do, but for things such as accessing personal information from the accounts on those other sites, then yes, this is entirely possible. If you own the other sites, you can do it much more easily because you already know how those sites function, instead of learning the 3rd party website's API.
EDIT: I guess I completely forgot about AJAX, this could be done with AJAX, but obviously that works alongside a server-side language.
精彩评论