I use the Phonegap Childbrowser for oAuth 2.0 authentication. After the authentication, I want to use Javascript in the web page to hide the Childbrowser without pressing the "done" button. How to do that?
For example, after authentication, we always get some callback parameters. That means our authentication is successful. At this time, we should close our browser, and I want to close the browser by Javascript without pressing any buttons.