【问题标题】:Chrome App - Webview Proxy support [PC]Chrome 应用程序 - Webview 代理支持 [PC]
【发布时间】:2017-02-08 04:33:54
【问题描述】:

我正在使用 webview 在 google chrome 应用程序中加载外部网站,我想通过一些代理 IP 而不是我的本地 IP 加载这些 URL。我检查了 webview 标签,但找不到任何代理选项。有没有办法实现这一点。

window.html

<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <div>Hello, world!</div>
    <webview id="wv1" partition="p1" style="width: 450px; height: 300px; border: 2px solid red" src="http://www.google.com"></webview>
    <webview id="wv2" partition="p2" style="width: 450px; height: 300px; border: 2px solid red" src="http://www.nytimes.com"></webview>
    <webview id="wv3" partition="p3" style="width: 450px; height: 300px; border: 2px solid red" src="http://www.stackoverflow.com"></webview>
    <webview id="wv4" partition="p4" style="width: 450px; height: 300px; border: 2px solid red" src="http://www.yahoo.com"></webview>
  </body>
</html> 

【问题讨论】:

    标签: webview proxy google-chrome-app


    【解决方案1】:

    不幸的是,没有办法从应用程序中影响它。

    大概是某个 Chrome App 从浏览器继承了代理设置,&lt;webview&gt; 没有办法影响这一点。扩展 have an API 来操作该设置,但 Apps do not

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-04-24
      • 1970-01-01
      • 1970-01-01
      • 2023-03-24
      • 1970-01-01
      • 2021-05-04
      • 2014-03-13
      相关资源
      最近更新 更多