V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
tuoxie007
V2EX  ›  Safari

Safari的Google搜索怎么改成https的

  •  
  •   tuoxie007 · Mar 23, 2012 · 7109 views
    This topic created in 5152 days ago, the information mentioned may be changed or developed.
    我看了几个国外帖子里面说用文本编辑器打开Safari的binary,然后替换URL template,可是我找了一下,binary里面没有这样的字符串,可能是帖子太老了吧。

    大家有没有什么解决办法呐?
    12 replies    1970-01-01 08:00:00 +08:00
    icesnow
        1
    icesnow  
       Mar 23, 2012 via Android
    我是安装转https扩展
    lex
        2
    lex  
       Mar 23, 2012
    https://extensions.apple.com/
    Google SSL, OmniBar, GToolBar 都有这个功能。
    zwl2828
        3
    zwl2828  
       Mar 23, 2012
    tuoxie007
        4
    tuoxie007  
    OP
       Mar 23, 2012
    谢谢大家给出的方案,等到家了试试
    tuoxie007
        5
    tuoxie007  
    OP
       Mar 23, 2012
    @zwl2828 @lex @icesnow 多谢,google ssl扩展很好用

    PS:吐槽一下苹果safari扩展右上角的搜索功能,太扯了,搜google ssl没找到那个扩展,还是从其他网站上下的
    goofansu
        6
    goofansu  
       Mar 24, 2012 via iPad
    楼主可以装一个glims扩展,搜索很舒服
    zwl2828
        7
    zwl2828  
       Mar 24, 2012
    @tuoxie007 为什么我发现我这里不行呢,现在应该是直接访问 https://www.google.com,可是这个 Google SSL 转到了 https://encrypted.google.com ,这不是悲剧了么?如果加个 h0STS,那不是又要转一次。
    tuoxie007
        8
    tuoxie007  
    OP
       Mar 25, 2012
    @zwl2828 我也是,不过www和encrypted有嘛区别呀?@goofansu 说的glims添加的SSL地址也是encrypted,不过可以自定义成www的
    zwl2828
        9
    zwl2828  
       Mar 25, 2012
    @tuoxie007 求直接转到 https://www.google.com
    tuoxie007
        10
    tuoxie007  
    OP
       Mar 25, 2012
    @zwl2828 用glims,在进入safari选项,进入glims标签页,选search engine list,添加一个search engine, query string填:https://www.google.com/search?q=#query#&ie=utf-8&oe=utf-8
    zwl2828
        11
    zwl2828  
       Mar 26, 2012
    @tuoxie007 唔,不喜欢用这插件,我打算联系 GOOGLE SSL 的作者求更新。
    CRH
        12
    CRH  
       Apr 13, 2012
    用这招,好使
    http://hints.macworld.com/article.php?story=20120213221354176

    注意改binary的时候,不能改变原有url的长度,否则会报错
    http改成https,多了一个字母,为了保持总长度不变,我把rls=en改成了hl=en

    其中用到hex editor的地方,用TextEdit其实就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2356 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    ♥ Do have faith in what you're doing.