2016-09-29 35 views
0

我使用的WebView加載谷歌瀏覽器的應用程序內外部網站,我想通過一些代理IP,而不是我的本地IP加載這些網址。我檢查了webview標記,但找不到代理的任何選項。是否有辦法實現此目的。Chrome應用 - 網頁視圖代理支持[PC]

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> 

回答

0

遺憾的是,沒有辦法影響,從一個應用程序。

據推測,Chrome應用從瀏覽器繼承代理設置,<webview>沒有辦法影響到這一點。擴展have an API操縱該設置,但Apps do not