正在载入 ...

nAODI's Blog

All about what I am interested in.

手动修改 iPhone Safari 的默认 Google 搜索引擎指向

with 2 comments

Other Versions: 正體中文 · English | 分享到: | 为该文按赞:

greenpois0n_by_izacchemical-d2ypi8p

我不清楚这一情况是否普遍,在 nAODI 的大陆行货 iPhone 4 上,使用那个「修改 google.cn 到 google.com.hk」的补丁一直无效,还是会用 google.cn 搜索。

下面我来讲一下,手动修改默认 Google 搜索引擎指向的方法。

用 iFile (你可以使用任何方法,当然直接在 iPhone 上用 iFile 比较简单)打开文件:/var/mobile/Library/Safari/SearchEngines.plist

在第45行,会看到形如「<key>CN</key>」的字段,将它下面一行的 「<string>cn</string>」字段修改为「<string>com.hk</string>」

在第292行,我们会发现 <string>中的 Google 地址,并没有采用之前定义的 {topLevelDomain} 函数,而是直接写成了「http://www.google.cn/search?....」。我想这就可能是软件修改一直失效的原因。

我们将它直接修改为「http://www.google.com.hk/search?...」。

O.K.

Written by nAODI

二月 8th, 2011 at 10:48 下午

Posted in Apple

Tagged with , ,

打印此文 打印此文  | 4,451 views


与本文相关的日志


2 Responses to '手动修改 iPhone Safari 的默认 Google 搜索引擎指向'

Subscribe to comments with RSS

  1. 懒人就直接将区域改成HK了。。

    【回复】

    coolxll

    10 三 11 at 21:46

  2. @ coolxll
    你的是大陆行货 iPhone 4 吗?

    【回复】

    nAODI

    10 三 11 at 23:36

Leave a Reply