Quantcast
Channel: Internet Explorer 8, 9, 10, 11 forum
Viewing all articles
Browse latest Browse all 10469

Custom protocol handler is not executed in unload event

$
0
0

I have a Windows application which opens a web application at a certain point which gives back the control to the Windows app with a custom protocol handler call (myprot://xy/continue) as source of a hidden iframe that I create and remove again when it's loaded.

Everything works fine when the user finishes correctly but I also want to handle an abortion when the user closes the browser. In Chrome and Firefox it works perfectly fine to make the protocol handler call in the onbeforunload event but in IE the iframe is not created. If I use other protocols like http or ftp it is created and works perfectly. I also tried just setting the src attribute of an existing iframe. The source is changed in the DOM but agin for the custom protocol nothing is executed - only http or ftp calls are made.

This seems a bit odd that only my custom protocol isn't executed. Does anybody has a clue what I could do or is there a security setting so that my protocol is declared as safe?



Viewing all articles
Browse latest Browse all 10469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>