Ticket ID: 25040
|
Creation Date: 10/2/2019 4:35 PM
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
TicketType: Support Request
|
Version: 9.7.5026
|
Language: English
|
Views: 20999
|
Last Modification Date: 10/30/2019 8:17 PM
|
Platform:
Windows
|
|
Level: Closed
|
IE: 11.0 |
|
Bug Status: Not Fixed
|
User account: SiteKiosk Restricted User
|
Bug Frequency: On every start
|
|
Support Request: Opening a new browser window does not alert for onbeforeunload event
Reproduction
We open a new browser window (tab) (via target="_blank") with a Skype session running inside the new window so the user can move the window around without interfering with the main browser experience. We have an "onbeforeunload" event handler on the new page to warn the user if they exit the window (close the browser tab) their skype session will be terminated. The pop-up from the IE Metro never shows when SiteKiosk is running.
It DOES show if SiteKiosk is NOT running, but logged on as user SiteKiosk, AND when the page is NOT opened in a new tab (i.e without the target="_blank") when SiteKiosk IS running.
We require the page to be in a new browser window, which will be movable, and for the onbeforeunload event to be process correctly.
Code to launch a new browser window (tab) inside page1.html file:
<a href="page2.html" target="_blank" class="text-white"><em>Would you like to connect to a live technician?</em></a>
Code the cause onbeforeunload event to be handled inside page2.html file:
<body onload="window.onbeforeunload = function() { return 'Are you sure you want to exit? If you leave this page you will end your video conference.'; };">