Tag Archives: https

Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox

First of all, if you don’t have any idea what Pentadactyl is, then this post maybe not worth your time.

Secondly, I should tell you about my system environments: Ubuntu 11.04; Firefox 6.0. If yours are differ from mine, I suppose it will still be ok, in most of the cases, they share the same steps.

Now, let’s start.

  1. Why use Firefox? It’s the only browser what can have Pentadactyl as the add-on.
  2. Why use Pentadactyl? It’s vim-like add-on, designed for some keyboard addicted users to make life easier and more efficiently. If you ever heard about vim, you should know how powerful it is.
  3. Why bother to use encrypted google search engine? It’s really something personal, I like it, because I like it. If you insist to ask, I think the main reason is I don’t want my search queries to be intercepted. Besides, it makes me cool and different.

In Pentadactyl, when you want search something, just type “o”(open the results in current tab) or “t”(open the results in new tab) followed the search words. By default, Pentadactyl use google as the search engine, Not google ssl. So how to change it? Add it as a bookmark will be the first step. Since we use Pentadactyl, let’s do it in some cool way:

  1. Press “:” to begin to typing command.

    bmark -keyword gssl https://encrypted.google.com/search?sclient=psy&hl=en&safe=off&site=webhp&source=hp&q=%s&pbx=1&oq=&aq=&aqi=&aql=&gs_sm=&gs_upl=

  2. Press “Enter” to execute the command. And now you add it to your bookmark. Then press “:” again to type another command.

    set defsearch=gssl

  3. Job done!

Command no.1: “-keyword” is an option for you to name a search engine which will be used in the second command. The url I provided maybe only functional in my system environment, I’m not sure. But if it doesn’t work, you could find it by yourself. AND it’s more easier.

  1. Open https://encrypted.google.com
  2. Right click of the search box
  3. Choose “Add a Keyword for this Search…”
  4. Name a keyword as you like, in my case it will be “gssl

It’s exactly the same result as command no.1. You will find the url when you check this bookmark’s property.

Command no.2: is used to set the default search engine. I really try hard to find this option of Pentadactyl…

Well, over…

https and Google search

根据Twitter情报和本人实际体验,Google搜索在今天下午处于半抽风状态,无规则地出现reset现象。没有了Google可怎么办?难道用Google也要翻墙,那速度和效率差就太打折扣了。在现有条件下其实还是有办法对抗的,那就是用https进行Google搜索。很奇怪,Google本身并没有这个服务,但众所周知,Gmail是默认进行https链接的,而在Gmail Labs里… … 请根据我的提示操作:

  • Settings–Labs
From Drop Box
  • 启用”Google Search”
From Drop Box
  • 在如下图位置进行搜索
From Drop Box

好了,大功告成。现在可以在Gmail内进行Google搜索,且不在有reset的烦恼了。本来这是个挺普通的功能,我甚至都没有在Gmail中使用Google搜索的习惯。但如今猛然发觉,既然Gmail是https连接,那在Gmail中的Google搜索自然也是https连接的咯,这样加密传输搜索内容,就无法做入侵检测,顺利逃过了reset的命运。

当然道高一尺,魔高一丈。和GFW的斗争本来就是无止尽的,也许哪天这个方法就失效了,毕竟GFW已经做到了不允许用https对google docs里的documents进行连接。不过也无妨,一切都在动态平衡中就好,我们的技术不也在不断提高嘛,都是逼出来的,谁怕谁。

—————————–不明真相的分界线—————————–

p.s : 多用用快捷键,生活无限美好。Gmail中的Google 搜索的快捷方式是 “g then /”,想要了解更多快捷方式,请在Gmail中按下“?” 。

—————————–不明真相的分界线—————————–

update :月光博客对今天Google搜索被屏蔽也做了介绍和破解方法,传送门点这里

the Problem of Google Calendar

Recent days when I used HTTPS protocol to connect Google Calendar, the service seldom worked appropriate, which means I cannot create any event or task any more. So I was forced to use HTTP  protocol, under this circumstances Google Calendar runned just fine. BUT as we all known, HTTP is not so secure, it can be traced or intercepted. Thus I want make it clear : was there anyone who encountered the same situation like me or it just happened because of my bad luck?