Browser control

Browser control

BY 06 Nov 2013 Web Application Development

Hi,

How can i monitor changes of url in open browser from a web application?

Launch browser:

var target = "http://www.example.com";
var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view", target);
tizen.application.launchAppControl(appControl, null, 
    function() { console.log("browser opened"); },
    function(e) { console.log("browser error: " + e.message); });

but it is not clear what next. How to close the browser when url will be ‘http://google.com’? Documentation is silent =(.

Thanks.

Written by