weraequipment.blogg.se

How to block a website on edge
How to block a website on edge











how to block a website on edge

Enter the URL for the website and click Block. How can I detect Internet Explorer (IE) and Microsoft Edge using JavaScript?įurther, you can modify the code sample as per your own requirements. Click Blocked Sites to add a blocked website. Return "Edge " + parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10) ĭocument.getElementById("info").innerHTML +="Welcome to the site." ĭocument.getElementById("info").innerHTML += "Dear user you are using " + result + " This browser is not supported by this site. Return "IE " + parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10) Return "IE " + parseInt( ua.substring(msie + 5, ua.indexOf('.', msie)), 10) Click on Balanced under Tracking prevention. If it is any other browser then it will let users visit the site. It may be that your tracking privacy setting in Edge are too strict for how this website has been designed, could you try the following steps in Edge: Click on the three dots menu button. Then if it is an IE or Edge legacy browser then you can show a message to the users to use the MS Edge Chromium browser. I suggest you try to check the substring of the user agent may help to identify the IE and Edge legacy browser.













How to block a website on edge