国内用户在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>