When url is loaded, the user agent override is used for updated user agent, 
thus when the user agent is modified by the user via the API in xwalk settings, the
correct user agent can be got.