Well I say Chrome app but it's not exactly a Chrome app. It's just a HTML5 page that runs on Chrome.
So I have an app.js
that defines the control flow of how the app would behave. Somewhere in the control flow, I'd like to open an external URL and let user play with that page. Afterwards, the control should go back to app.js
and something else would happen.
But of course when Chrome load another page, all control is lost and there will be no app.js
anymore. The external is from third party and thus cannot be modified.
How does one achieve this?