c++ - 在 MFC 应用程序的 IE Web 浏览器控件中运行用户脚本

标签 c++ scripting mfc webbrowser-control

我正在使用 Internet Explorer webcontrol 开发 C++ 应用程序。我想使用一些用户脚本来修改网页。

您有什么想法可以实现吗?

最佳答案

您正在寻找 IHTMLWindow2::execScript()

关于c++ - 在 MFC 应用程序的 IE Web 浏览器控件中运行用户脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7144532/

相关文章:

linux - 来自给定输入的空文件夹列表

c++ - AVL 树插入 - 访问冲突读取位置(无法读取内存)

c++ - 函数的单个实例

c++ - 在 C++ 库接口(interface)中安全使用容器

linux - 找出以秒为单位的时间戳差异

c++ - 控制台应用程序到 MFC 应用程序

c++ - 禁止带有 `static_assert` 的函数

windows - "fuser -k <folder>"的 Windows 批处理等价物是什么?

c++ - 在 MFC 单文档中传递参数

c++ - 如何在MFC中使用Document/View架构