Рождественские праздники компании
Североамериканская штаб-квартира в Майами, США: 25 декабря 2015, 1 января 2016
Европейская штаб-квартира в г. Мюнстер, Германия: с 21 декабря 2015 по 3 января 2016
Ограниченная поддержка доступна в течение этого периода.
PROVISIO желаем вам веселого Рождества и счастливого Нового Года!

 

Сообщение об ошибке: Opening a new browser window does not alert for onbeforeunload event

Воспроизведение

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.'; };">

Описание

You can use
 
for code samples

Ответ: (1)

Re: Opening a new browser window does not alert for onbeforeunload event 02.10.2019 19:57
Hello,

Thank you for submitting this report. This is not a bug. This behavior can be found in Chrome as well. The feature you are referring is not available in the public part of the IE WebBrowser Control SiteKiosk uses. You can test your application in these Browser engines to confirm that it would work in SiteKiosk.

Microsoft WebBrowser Control
https://www.provisio.com/download/Webbrowser%20Control%20Test%20Applikation%20EN.pdf

Current Chrome engine used in SiteKiosk 9.7 5026
http://opensource.spotify.com/cefbuilds/cef_binary_3.3683.1920.g9f41a27_windows32_client.tar.bz2

Best regards.