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

thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Strange behaviour

Post 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
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Strange behaviour

Post 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
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Strange behaviour

Post 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 :lol:
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Strange behaviour

Post 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&)
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Strange behaviour

Post 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 ? :)
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Strange behaviour

Post 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.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Strange behaviour

Post by salvadordf »

If possible, send me the website address where this is happening to try to find a solution.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Strange behaviour

Post 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.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Strange behaviour

Post 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...
Post Reply