Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【教程】为 Firefox 添加搜索引擎 Codelf 并实现一键搜索 #13

Closed
asin929 opened this issue Jan 30, 2016 · 2 comments
Closed
Labels

Comments

@asin929
Copy link

asin929 commented Jan 30, 2016

Firefox Quantum 已失效,请参看【教程】添加 Codelf 到 Firefox Quantum 搜索引擎列表实现一键搜索


以下步骤为firefox添加搜索引擎CODELF并实现一键搜索。

1. 安装插件Search Engine Creator

打开该插件,添加如下字段

  • Engine name*: CODELF
  • Search URL*: http://unbug.github.io/codelf/#{searchTerms}
  • Icon URL: https://camo.githubusercontent.com/48196d159b6cf236515945271083728c31aa95d2/687474703a2f2f756e6275672e6769746875622e696f2f636f64656c662f7265736f75726365732f696d616765732f636f64656c665f6c6f676f2e706e67

添加搜索引擎CODELF

点击"Create engine",创建搜索引擎成功,如下所示
screenshot from 2016-01-30 17 35 58

2. 添加中文编码支持

添加搜索引擎成功后,进行英文搜索没有问题,输入中文则不行,因此需设置编码为UTF-8。

打开火狐的个人配置文件夹,在searchplugins文件夹里找到刚生成的搜索引擎文件"codelf.xml",在其中添加<os:InputEncoding>UTF-8</os:InputEncoding>,之后重启火狐,测试中文搜索正常。

3. vimperator加速

安装了vimperator的用户,可以自定义搜索引擎的关键字,比如定义CODELF的关键字为“cf”。之后,直接输入“t cf 新年快乐”即可进行搜索。

codelf

@unbug unbug changed the title 为firefox添加搜索引擎CODELF并实现一键搜索 【教程】为firefox添加搜索引擎CODELF并实现一键搜索 Jan 30, 2016
@unbug unbug added the FAQ label Jan 30, 2016
@unbug
Copy link
Owner

unbug commented Jan 30, 2016

这个实在很棒!我把它收到WIKI里,同学你们微博是什么呀?我发处微博at你可好?

@unbug unbug closed this as completed Jan 30, 2016
@unbug unbug changed the title 【教程】为firefox添加搜索引擎CODELF并实现一键搜索 【教程】为 Firefox 添加搜索引擎 Codelf 并实现一键搜索 Sep 6, 2016
@asin929
Copy link
Author

asin929 commented Feb 5, 2017

我的微博名称: asin929。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants