国内用户在SAFARI里搜索栏输入搜索内容后,搜索的结果就只能在CN,不自动跳转到HK了。必须要点击才能跳转。
我们可以通过iFile(不是iFiles)修改SearchEnginesFallback.plist将google.cn修改为google.com.hk。
使用iFile打开文件“/var/mobile/Library/Safari/SearchEngines.plist”。
进行如下修改:
一、将<key>SearchURLTemplateChina</key>中的google.cn修改为google.com.hk。
修改:
<key>SearchURLTemplateChina</key>
<string>http://www.google.cn/search?q={searchTerms}&ie=UTF-8&oe=UTF-8&hl={languageCode}&client=safari</string>
为:
<key>SearchURLTemplateChina</key>
<string>http://www.google.com.hk/search?q={searchTerms}&ie=UTF-8&oe=UTF-8&hl={languageCode}&client=safari</string>
二、将所有的<key>CN</key>中的cn修改为com.hk。
修改:
<key>CN</key>
<string>cn</string>
为:
<key>CN</key>
<string>com.hk</string>
本文介绍如何通过修改iPhone上Safari浏览器的配置文件SearchEnginesFallback.plist,将默认搜索地区从中国大陆更改为中国香港的方法。用户可通过iFile工具访问并编辑位于/var/mobile/Library/Safari/目录下的SearchEngines.plist文件,将搜索URL中的google.cn替换为google.com.hk。
4540

被折叠的 条评论
为什么被折叠?



