|
|
@@ -253,7 +253,7 @@
|
|
|
// 加载网页
|
|
|
if (self.webUrl.length == 0) { // 百度
|
|
|
|
|
|
- [self loadRequestURL:@"https://www.baidu.com/"];
|
|
|
+ [self loadRequestURL:@"https://www.google.com/"];
|
|
|
|
|
|
}else if ([self.webUrl containsString:@"https://"] ||
|
|
|
[self.webUrl containsString:@"http://"]) { // 加载网页
|
|
|
@@ -262,7 +262,7 @@
|
|
|
|
|
|
}else { // 搜索
|
|
|
|
|
|
- NSString *text = [NSString stringWithFormat:@"https://www.baidu.com/s?wd=%@",self.webUrl];
|
|
|
+ NSString *text = [NSString stringWithFormat:@"https://www.google.com/s?wd=%@",self.webUrl];
|
|
|
text = [text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
|
|
[self loadRequestURL:text];
|
|
|
}
|
|
|
@@ -293,7 +293,7 @@
|
|
|
[text hasPrefix:@"http://"]) {
|
|
|
[self loadRequestURL:text];
|
|
|
}else {
|
|
|
- text = [NSString stringWithFormat:@"https://www.baidu.com/s?wd=%@",text];
|
|
|
+ text = [NSString stringWithFormat:@"https://www.google.com/s?wd=%@",text];
|
|
|
text = [text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
|
|
[self loadRequestURL:text];
|
|
|
}
|