Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Web Page to not open in IE
Message
From
11/10/2022 00:55:57
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685064
Message ID:
01685071
Views:
91
>>Now that IE has been retired, I would like to force this to never open in IE as link's to click on the page do work correctly in IE (such as PayPal, etc.).
>>Is there anyway to include some kind of code here, or perhaps in the web page that would stop IE from being used?

If inet is a subclass of the VFP Web Browser oleControl- then it's worth trying this simple addition to the html <head>:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
... which updates the obsolete IE7 compatibility of the Web Browser olecontrol to latest Edge standard, which may well overcome inconsistencies you are seeing.

If it's a 3rd-party link you can't edit, then there's registry settings to have the same effect. Good information here: https://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform