Announcement

Collapse
No announcement yet.

search function cannot be used after loading a web page on Web object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • search function cannot be used after loading a web page on Web object

    hello everyone,

    I added a web page using the web object, but I can't use the search function. If the web page is opened directly with IE browser, the search function can be used, Here is the video operation demonstration:
    https://www106.zippyshare.com/v/kKvbSzgD/file.html

    I have added the following ie compatibility code:

    on preload:
    Code:
    function Web.Emulation(sVersion)
    local nMainKey = HKEY_CURRENT_USER;
    local sIESubkey = "Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EM ULATION";
    local sExe = _SourceFilename;
    
    if (sVersion ~= "") then
    if (Registry.GetValue(nMainKey, sIESubkey, sExe, false) == "") then
    Registry.SetValue(nMainKey, sIESubkey, sExe, sVersion, REG_DWORD);
    end
    else
    Registry.DeleteValue(nMainKey, sIESubkey, sExe);
    end
    end
    
    Web.Emulation("11001")
    relevant File downlink:
    https://www106.zippyshare.com/v/DF2sNgsq/file.html

    Some suggestions are welcome. Thank you very much

  • #2
    Does anyone know why? I searched a lot of Posts and didn't find a solution

    Comment

    Working...
    X