SoFunction
Updated on 2025-04-07

How to make IE8 and IE9 support eWebEditor online editor

Recently, when I was building a website, I found that the eWebEditor online text editor does not support IE9, and clicking the button in the editor did not respond. This website previously published an article titled "Methods to Solve IE8's Not Supporting eWebEditor Online Text Editor", but it seems that the method under IE9 has failed. I found a final solution online and I will share it with you.

First find the directory where the eWebEditor editor is located, then search for the file and open it with a text editor, then find the BtnMouseUp() function, and replace the function code with the following code:

Copy the codeThe code is as follows:

 function BtnMouseUp() {
    if ( != "IMG") {
        = true;
        return false;
    }

    var image = ;
    var element = ;

    try{
        if () eval( + "anonymous()");
    }
    catch(e){
        if () eval( + "onclick(event)");
    }

    = "BtnMouseOverUp";
    = "Ico";

    = true;
    return false;
}


Note: The blue part of the above code is the core code of eWebEditor online text editor compatible with IE9IE8. You can also replace the corresponding code in the BtnMouseUp() function according to the actual situation.

Tip: If your eWebEditor online text editor version is too old and you cannot open the eWebEditor interface under IE9 at all, you can set it to browser compatibility mode in IE9 and you can use eWebEditor in IE9 normally.