Redirect the Chrome extension popup.html page to a URL for Oauth
问题 Is it possible to redirect the popup Html of a chrome extension to a remote URL? I'm looking into this scenario for the purpose of OAuth. When a user clicks on the "Login with FB" button, I want the Html page of the chrome extension to redirect to: https://www.facebook.com/dialog/oauth?client_id={app-id}&redirect_uri={redirect-uri} so that the user is prompted to log in. Is this the right approach to do authentication in a Chrome extension anyway? 回答1: Popups are very.. fragile. They are too