|
|
@ -844,6 +844,9 @@ public class LightningView { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean shouldOverrideUrlLoading(WebView view, String url) { |
|
|
|
public boolean shouldOverrideUrlLoading(WebView view, String url) { |
|
|
|
|
|
|
|
if (mBrowserController.isIncognito()) { |
|
|
|
|
|
|
|
return super.shouldOverrideUrlLoading(view, url); |
|
|
|
|
|
|
|
} |
|
|
|
if (url.startsWith("about:")) { |
|
|
|
if (url.startsWith("about:")) { |
|
|
|
return super.shouldOverrideUrlLoading(view, url); |
|
|
|
return super.shouldOverrideUrlLoading(view, url); |
|
|
|
} |
|
|
|
} |
|
|
|