Thread Starter
sdkang
(@sdkang)
If you don’t have any plan for IE11, can I hide chat bot icon in IE ?
Hello @sdkang.
Unfortunately we do not support IE 11.
IE is an outdated browser as Microsoft stopped supporting it in 2016. Only IE 11 should still be supported including security updates but it may stop soon too.
To hide the chatbot icon in IE, you can use JavaScript. For example, add the following script to your website:
<script>
window.onload = function() {
let ua = window.navigator.userAgent; //Check the userAgent property of the window.navigator object
let msie = ua.indexOf('MSIE '); // IE 10 or older
let trident = ua.indexOf('Trident/'); //IE 11
if(msie > 0 || trident > 0){
document.getElementById('watsonconv-floating-box').style.display = 'none'; //Hide chatbot icon
}
}
</script>
If you have more questions, don’t hesitate to ask them.
Thread Starter
sdkang
(@sdkang)
Thanks your reply.
are there some way by modifing CSS file?
You can try adding this code to the CSS file:
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
#watsonconv-floating-box {
display: none;
}
}
Hello @sdkang.
We haven’t heard from you recently.
Do you still have any questions or need our assistance?
We will gladly help you.
Topic was in a Waiting state for longer than 2 weeks, Topic was automatically resolved