How to detect with JavaScript the events triggered when iOS Chrome opens a third party application an this new application overlapped the current window of the browser and vice