Webbrowser 组件 - 使用源 html 进行操作
我的朋友正在玩一些网络游戏。主要是文字游戏。没有动画,没有视频,只有文字和几张图像。
他希望有更多的可能性,例如增强的游戏记事本等。
我的问题是,如果我需要使用源代码进行轻松操作,我应该使用什么网络浏览器(基于 IE/chrome/...)组件web浏览器的,意味着简单地访问源html代码,阅读并主要插入一些我自己的html代码到现有的?
示例
当用户导航到此页面时,
<h1>blahblah</h1>
<div>
<table></table>
</div>
我想从页面中删除表格,插入我自己的增强表格,然后使用与原始页面相同的 css 样式刷新页面。
Friend of mine is playing some internet game. It's mainly text game. No animations, no videos, just text and couple of images.
He would like to have some more possibilities like enhanced ingame notepad etc.
My question is, what webbrowser (IE based/chrome/...) component should I use, if I need easy manipulation with source code of the webbrowser, meaning simple access to source html code, reading and mainly inserting a bits of my own html code to existing?
Example
When user navigates to this page
<h1>blahblah</h1>
<div>
<table></table>
</div>
I want to remove table from page, insert my own enhanced table and than refresh page using same css style like origin page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Awesomium 可以让您做到这一点,而且它是一个快速且功能强大的可嵌入组件。
Awesomium would allow you to do it, and it's a fast and very functional embed-able component.