I have a CTI integration that will display a HTML5 notification if a call comes in and the browser tab is not visible.
When this notification is clicked I want the tab to focus. Normally this can be done quite easily in JavaScript using window.focus()
However since the softphone is in an iFrame this doesn't seem to work. Is is possible to get access to the main window object to call the focus function?