Dear Support,
so when I developed my website with envato, the end result was that there were some components that were broken in IE, I wanted to block my website when the user opened it using IE only, but when I added this code, my website also couldn't be opened on apple devices like IOS and macbook. Can you help me with this?
if (navigator.userAgent.indexOf("Chrome") == -1 && navigator.userAgent.indexOf("Firefox") == -1) {
window.onload = function () {
document.body.innerHTML = '<div style="background-color:white; padding: 10px;"><center>Sorry for your inconvenience but for our website is not supported yet for Apple Device and IE Browser. Please use Google Chrome Or Mozilla Firefox on your Desktop or Android Device</center></div>';
}
}
Thankyou.
Warm
