光阴似箭催人老,日月如移越少年。
Use https protocol;
For example, filtering operator advertisements: webView.setWebViewClient(new WebViewClient() {
public WebResourceResponse shouldInterceptRequest(WebView view, String url) { if (url.contains("adpro.cn")) {//若url含广告url return new WebResourceResponse(null, null, null); } return null; }
Operator hijacking, use https
Use https protocol;
For example, filtering operator advertisements: webView.setWebViewClient(new WebViewClient() {
Operator hijacking, use https