Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Web Page to not open in IE
Message
 
 
To
08/10/2022 10:17:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685064
Message ID:
01685066
Views:
55
>>Perhaps someone can help me. I have an app (built it back in 2022 and update it a few times a year) that opens a Web Page from my site upon app startup and remains in the background. 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?
>>
>>This is the partial code I borrowed from UT many years ago - as seen in the following.
>
>Somewhere in the page's javascript code, check the navigator object, and its properties. Look it up https://stackoverflow.com/questions/2400935/browser-detection-in-javascript (or do your own search on “javascript detect browser“. The DOM of a webpage is very rich nowadays, and you'll probably find anything, except 1) exactly what you want 2) twice.

Thank you.... looks good.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform