【问题标题】:Using fiddler to capture html when no proxy support in browser在浏览器中不支持代理时使用提琴手捕获 html
【发布时间】:2015-04-12 08:07:45
【问题描述】:

我在 chromium 中使用 webview 标签,我想捕获 html 请求。不幸的是 webview 不支持代理。有什么办法可以在 localhost:8888 向提琴手发出正常的 http 请求,并以某种方式将真正的目的地放在 URL 中?也许像http://localhost:8888?url=google.com这样的东西?

【问题讨论】:

    标签: html webview proxy fiddler chromium


    【解决方案1】:

    我不清楚您使用的是哪个Chromium,但通常我希望它应该采用操作系统代理设置,如果没有,那就是应该提交的错误。

    是的,您可以使用您描述的技术直接向 Fiddler 发送 Web 请求,但 cookie 和安全权限可能无法正常工作。

    【讨论】:

    • I'm not clear on which Chromium:它是内置于 atom/shell 中的。 that's a bug that should get filed.: 已经很久了,但是 google 忽略了。 you can send Web Requests directly to Fiddler using the technique you describe:在哪里可以找到网址格式?
    • @mark-Hahn:使用任何你想要的格式。然后,您在 OnBeforeRequest 中编写脚本以根据您决定的格式“修复” URL。
    • 这个:discuss.atom.io/t/is-there-any-proxy-settings/710/22 建议有一种方法可以手动更新应用程序的配置文件以指向代理。
    • apm config set https-proxy http://localhost:8888 来自那个帖子在 Windows 中为我工作。
    • 还有一个问题。你说Then you write script inside OnBeforeRequest。这个脚本应该去哪里?内部提琴手?
    猜你喜欢
    • 2013-06-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-18
    • 2013-05-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多