This is how you can easily create a redirection to a ' please use a modern browser such as Chrome to browse our website ' page.
Many Elementor users might have problem with Elementor not showing correctly on IE (Internet Explorer) . Redirecting the IE users to a page that prompts them to download a modern browser, and explaining to them that it is for their own online security, is a great option.
As of January 2020, there is no longer any security updates for Windows 7 and Internet Explorer. Informing your IE users of this benefits them greatly. Even if some might not care… Chrome is the most secure way to surf the internet, suggest them to try it out!
Quite simple really. Add this code to an html element at the top of your Elementor header template, or at the top of a page.
If you want this only on your home page for example, just make it the first element there.
<script> var ieusers = 'https://element.how/modern-browser/'; (https://cdn.element.how/Edge/.test(navigator.userAgent) || /msie|trident/i.test(navigator.userAgent))? document.location = ieusers : null; </script>