• Resolved ppakira

    (@ppakira)


    I would like to turn off chat box only on IE browser because it doesn’t work well.
    Is there any way to do that? Please tell me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Intela-bot Help

    (@intelahelp)

    Hello @ppakira.

    To hide Chatbot in IE, you can use JavaScript or CSS.
    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>
    

    Or 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;
      }
    }
    
    Thread Starter ppakira

    (@ppakira)

    Thank you for your help.
    I add the code to the CSS file, and it worked well.

    Plugin Author Intela-bot Help

    (@intelahelp)

    @ppakira.
    We are glad that everything works for you now.
    Thank you for letting us know.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘chat box off only on IE’ is closed to new replies.