I am working on web app which uses Chrome browser On the computer I have setup custom URI which executes .exe on the local computer.
On the webapp there is a javascript which loads the custom URI every couple of minutes. Something like:
$('<iframe/>', {
src: 'foo://bar',
class: 'hidden',
}).appendTo("body").remove();
So far so good ... everything is working on the first iframe load. I have tested it without the remove()
, and it is the same. Only the first time it loads the custom URI, after that I have to at least click on the webapp and next time it will load fine. If I keep the browser minimized or not clicking on the application I don`t get the URI loaded.
I checked the network log of chrome and it appears there.
ATM I have solved this with auto clicker which make clicks on the webapp to keep the URI loaded. I am looking for better solution on this. I guess it is some restriction of Chrome.
Also the only option I have is to use Chrome.