Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Strange behaviour
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Strange behaviour
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
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
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Strange behaviour
It seems to be a domain used by Google to store static content to reduce bandwidth.
https://superuser.com/questions/64716/i ... hat-domain
https://superuser.com/questions/64716/i ... hat-domain
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Strange behaviour
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 

- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Strange behaviour
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&)
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&)
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Strange behaviour
Sounds interesting... How can i do that ?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.

- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Strange behaviour
Here you have the details to register an application to a URI scheme :
https://stackoverflow.com/questions/135 ... -windows-8
https://docs.microsoft.com/en-us/previo ... dfrom=MSDN
https://stackoverflow.com/questions/272 ... -windows-8
https://stackoverflow.com/questions/135 ... -windows-8
https://docs.microsoft.com/en-us/previo ... dfrom=MSDN
https://stackoverflow.com/questions/272 ... -windows-8
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Strange behaviour
I tried this , but still at some point the external browser is opened with these weird urls...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&)
It seems this started on the recent updates.
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Strange behaviour
If possible, send me the website address where this is happening to try to find a solution.
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Strange behaviour
The problem seems to be random, not related to a specific url. But users reported that when navigating to Facebook, often the issue happens.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.
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Strange behaviour
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...
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...