longvh211 / Chromium-Automation-with-CDP-for-VBA

A method to directly automate Chromium-based web browsers, such as Chrome, Edge, and Firefox, using VBA for Office applications by following the Chrome DevTools Protocol framework.
MIT License
45 stars 6 forks source link

Recent antivirus update blocking code #8

Closed TheRedBar closed 1 year ago

TheRedBar commented 1 year ago

Hello. You're code is amazng and I have been using it daily for the past month. Unfortunately, as of this week, my work antivirus is blocking the VBA as soon as it tries to execute the line "EnumWindows AddressOf EnumWindowsProc, 0&". By any chance, is there any alternative solutions?

longvh211 commented 1 year ago

Hi there. Thank you for the feedback, I will be releasing the next version of CDP framework too so do keep a look out for it. I cannot seem to find that code line which you mentioned in the framework. Where is it?

TheRedBar commented 1 year ago

Great, I look forward to checking it out! As far as that line, I might have posted on the wrong git, however it’s in your Edge-IE-Mode-Automation-with-IES-for-VBA > core.bas line 102. V/RJustin Johnson On Apr 6, 2023, at 9:30 PM, Long Vh @.***> wrote: Hi there. Thank you for the feedback, I will be releasing the next version of CDP framework too so do keep a look out for it. I cannot seem to find that code line which you mentioned in the framework. Where is it?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

longvh211 commented 1 year ago

I see. For IES, that is the only method to target the Chrome_WidgetWin window. You will have to report the issue to your IT I suppose so that the antivirus can allow the enumeration. Otherwise, how about making the changes to the Registry so that you can natively interact with Edge IE mode?