Firefox 的地址栏检索功能

以前开会发现老板总是在地址栏输入 php function_name 来查找 PHP 函数,还以为他用了 Firefox 扩展,今天突然想起来问问他原来通过书签就能实现。

在书签中加入 http://php.net/%s,然后给这个书签设置一个叫 php 的关键字,这样在地址栏输入 php preg_match 就直接跳到 PHP 的文档页了,非常方便。

如法炮制出下面的书签:

http://dict.cn/search.php?q=%s

http://www.baidu.com/s?wd=%s

http://docs.python.org/search.html?q=%s

/** python 的搜索结果是 ajax 载入的,不过连个载入进度条都没有,老让我以为没有找到结果 */

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>