Page 1 of 2
Strange behaviour
Posted: Wed Oct 14, 2020 11:39 am
by thefunkyjoint
Hi,
I've been noticing that in the last versions, at some point after navigating to sites, my app will open the default external browser and load urls like this one :
https://p2-ls4pxiqlj5ffi-gi46oqljthxybm ... frame.html
What could be causing this ?
Thanks
Re: Strange behaviour
Posted: Wed Oct 14, 2020 12:35 pm
by salvadordf
It seems to be a domain used by Google to store static content to reduce bandwidth.
https://superuser.com/questions/64716/i ... hat-domain
Re: Strange behaviour
Posted: Wed Oct 14, 2020 1:40 pm
by thefunkyjoint
Yes but how can i avoid the app to open this OUTSIDE my app ? It's opening in external Chrome instead of inside my app
Re: Strange behaviour
Posted: Wed Oct 14, 2020 1:52 pm
by salvadordf
That's weird...HTTPS URLs should be open in the same browser or a popup window.
Modify the Windows registry with the installer of your application to indicate that it can handle the HTTP and HTTPS protocols.
Try using the
TChromium.OnProtocolExecution event and set
allowOsExecution to FALSE.
https://magpcss.org/ceforum/apidocs3/pr ... %3E,bool&)
Re: Strange behaviour
Posted: Thu Oct 22, 2020 5:47 pm
by thefunkyjoint
salvadordf wrote: ↑Wed Oct 14, 2020 1:52 pm
Modify the Windows registry with the installer of your application to indicate that it can handle the HTTP and HTTPS protocols.
Sounds interesting... How can i do that ?
Re: Strange behaviour
Posted: Sat Oct 24, 2020 10:55 am
by salvadordf
Re: Strange behaviour
Posted: Mon Oct 26, 2020 1:03 pm
by thefunkyjoint
salvadordf wrote: ↑Wed Oct 14, 2020 1:52 pm
That's weird...HTTPS URLs should be open in the same browser or a popup window.
Modify the Windows registry with the installer of your application to indicate that it can handle the HTTP and HTTPS protocols.
Try using the
TChromium.OnProtocolExecution event and set
allowOsExecution to FALSE.
https://magpcss.org/ceforum/apidocs3/pr ... %3E,bool&)
I tried this , but still at some point the external browser is opened with these weird urls...
It seems this started on the recent updates.
Re: Strange behaviour
Posted: Mon Oct 26, 2020 1:40 pm
by salvadordf
If possible, send me the website address where this is happening to try to find a solution.
Re: Strange behaviour
Posted: Tue Oct 27, 2020 5:09 pm
by thefunkyjoint
salvadordf wrote: ↑Mon Oct 26, 2020 1:40 pm
If possible, send me the website address where this is happening to try to find a solution.
The problem seems to be random, not related to a specific url. But users reported that when navigating to Facebook, often the issue happens.
Re: Strange behaviour
Posted: Mon Nov 02, 2020 6:07 pm
by thefunkyjoint
I just updated to the most recent version, and still this issue happens. Right now this link was opened outside my app, in the default browser :
https://p2-gqvckkt7bxx74-qgv7c2oznrdres ... frame.html
Is there a way to block this kind of links to open ? It's very annoying , the users think it could be a virus or malware...