以下是我IE 9 的搜索引擎组合(因为很久没用IE了,导致有些ico丢失了。但是不影响大家自己设置啊)
在IE9 开始,用户可以直接输入"?"来显示您设置的搜索引擎,在这里我设置了10个搜索引擎,分别是:
Bing, DXY, Ebook(已经失效,由于版权原因), NCBI-Gene, GeneCard, Google(Google.com), HGNC, Pubmed, UCSC-hum, UCSC- Zebrafish ,Wiki-en
那么如何实现的呢?其实非常简单:
以下是实现以上的注册表文件:
txt:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
"DefaultScope"="{0633EE93-D776-472F-A0FF-E1416B8B2E3A}"
"UpgradeTime"=hex:7a,16,03,80,69,b9,cb,01
"AutoSearch"=dword:00000002
"ShowSearchSuggestionsGlobal"=dword:00000001
"ShowSearchSuggestionsInAddressGlobal"=dword:00000001
"DisplayQuickPick"=dword:00000001
"Version"=dword:00000002
"DownloadRetries"=dword:00000000
"KnownProvidersUpgradeTime"=hex:1e,12,66,55,8e,1b,cc,01
"DoNotAskAgain"=hex(7):62,00,61,00,69,00,64,00,75,00,2e,00,63,00,6f,00,6d,00,\
00,00,61,00,73,00,6b,00,2e,00,63,00,6f,00,6d,00,00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\HGNC]
"displayname"="HGNC"
"url"="http://www.genenames.org/cgi-bin/quick_search.pl?.cgifields=type&num=50&search={searchTerms}&submit=submit"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\eBook]
"displayname"="eBook"
"url"="http://library.nu/search?q={searchTerms}"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
"TopResultURLFallback"="http://www.bing.com/search?q={searchTerms}&src=ie9tr"
"SuggestionsURLFallback"="http://api.bing.com/qsml.aspx?query={searchTerms}&maxwidth={ie:maxWidth}&rowheight={ie:rowHeight}§ionHeight={ie:sectionHeight}&FORM=IE8SSC&market={language}"
"FaviconURLFallback"="http://www.bing.com/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{0633EE93-D776-472f-A0FF-E1416B8B2E3A}.ico"
"DisplayName"="Bing"
"URL"="http://www.bing.com/search?q={searchTerms}&src=IE-SearchBox&FORM=IE8SRC"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{4D07044F-4230-4A41-8FAC-81324BEDAA88}]
"DisplayName"="UCSC-hum"
"URL"="http://genome.ucsc.edu/cgi-bin/hgTracks?clade=mammal&org=Human&db=hg19&position={searchTerms}&hgt.suggest={searchTerms}&pix=800&Submit=submit&hgsid=189759889"
"Codepage"=dword:0000fde9
"OSDFileURL"="http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=UCSC-hum&URI=http%3A%2F%2Fgenome.ucsc.edu%2Fcgi-bin%2FhgTracks%3Fclade%3Dmammal%26org%3DHuman%26db%3Dhg19%26position%3DTEST%26hgt.suggest%3DTEST%26pix%3D800%26Submit%3Dsubmit%26hgsid%3D189759889"
"FaviconURL"="http://genome.ucsc.edu/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{4D07044F-4230-4A41-8FAC-81324BEDAA88}.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{5612A0A4-1ECF-4535-AB47-4BA4260EAA79}]
"DisplayName"="pubmed"
"URL"="http://www.ncbi.nlm.nih.gov/pubmed/?term={searchTerms}"
"Codepage"=dword:0000fde9
"OSDFileURL"="http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=pubmed&URI=http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fpubmed%2F%3Fterm%3DTEST"
"FaviconURL"="http://www.ncbi.nlm.nih.gov/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{5612A0A4-1ECF-4535-AB47-4BA4260EAA79}.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{6B28BD55-19CE-4190-86D0-AF7537EEF277}]
"DisplayName"="GeneCard"
"URL"="http://www.genecards.org/index.php?path=/Search/keyword/{searchTerms}"
"Codepage"=dword:0000fde9
"OSDFileURL"="http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=GeneCard&URI=http%3A%2F%2Fwww.genecards.org%2Findex.php%3Fpath%3D%2FSearch%2Fkeyword%2FTEST"
"FaviconURL"="http://www.genecards.org/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{6B28BD55-19CE-4190-86D0-AF7537EEF277}.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{6CFB0006-5F95-4744-9EF5-CD35E2B28E29}]
"DisplayName"="Google"
"URL"="http://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}"
"ShowSearchSuggestions"=dword:00000001
"SuggestionsURL"="http://clients5.google.com/complete/search?q={searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}"
"OSDFileURL"="http://www.ieaddons.com/en/DownloadHandler.ashx?ResourceId=813"
"FaviconURL"="http://www.google.com/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{6CFB0006-5F95-4744-9EF5-CD35E2B28E29}.ico"
"TopResultURLFallback"=""
"SuggestionsURLFallback"="http://clients5.google.com/complete/search?hl={language}&q={searchTerms}&client=ie8&inputencoding={inputEncoding}&outputencoding={outputEncoding}"
"FaviconURLFallback"="http://www.google.com/favicon.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{9B77553A-870E-4682-AFEE-621F81C3B608}]
"DisplayName"="DXY-Search"
"URL"="http://pubmed.cn/search?q={searchTerms}&st=main"
"Codepage"=dword:0000fde9
"OSDFileURL"="http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=DXY-Search&URI=http%3A%2F%2Fpubmed.cn%2Fsearch%3Fq%3DTEST%26st%3Dmain"
"FaviconURL"="http://pubmed.cn/favicon.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{BA350AB7-BF8A-4AA2-B94D-FABB6205D11E}]
"DisplayName"="Gene"
"URL"="http://www.ncbi.nlm.nih.gov/gene/?term={searchTerms}"
"Codepage"=dword:0000fde9
"OSDFileURL"="http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=Gene&URI=http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fgene%2F%3Fterm%3DTEST"
"FaviconURL"="http://www.ncbi.nlm.nih.gov/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{BA350AB7-BF8A-4AA2-B94D-FABB6205D11E}.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{D89E772F-D51A-417D-81BC-0E377B3273DE}]
"DisplayName"="UCSC-Zebrafish"
"URL"="http://genome.ucsc.edu/cgi-bin/hgTracks?clade=vertebrate&org=Zebrafish&db=danRer7&position={searchTerms}&hgt.suggest={searchTerms}&pix=800&Submit=submit&hgsid=189759889"
"Codepage"=dword:0000fde9
"OSDFileURL"="http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=UCSC-Zebrafish&URI=http%3A%2F%2Fgenome.ucsc.edu%2Fcgi-bin%2FhgTracks%3Fclade%3Dvertebrate%26org%3DZebrafish%26db%3DdanRer7%26position%3DTEST%26hgt.suggest%3DTEST%26pix%3D800%26Submit%3Dsubmit%26hgsid%3D189759889"
"FaviconURL"="http://genome.ucsc.edu/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{D89E772F-D51A-417D-81BC-0E377B3273DE}.ico"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{F4A17A10-6F36-4D73-9875-860EB2868EFA}]
"DisplayName"="Wikipedia (en)"
"URL"="http://en.wikipedia.org/w/index.php?title=Special:Search&search={searchTerms}"
"ShowSearchSuggestions"=dword:00000001
"SuggestionsURL_JSON"="http://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0"
"SuggestionsURL"="http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0"
"OSDFileURL"="http://www.ieaddons.com/en/DownloadHandler.ashx?ResourceId=815"
"FaviconURL"="http://en.wikipedia.org/favicon.ico"
"FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{F4A17A10-6F36-4D73-9875-860EB2868EFA}.ico"
"SuggestionsURLFallback"="http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0"
"FaviconURLFallback"="http://en.wikipedia.org/favicon.ico"
注册表文件:
search.reg
接下来就是讲解一下啦:
以Wiki 搜索为例吧,就是txt文档最后面的一部分:
1. [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{F4A17A10-6F36-4D73-9875-860EB2868EFA}]
2. "DisplayName"="Wikipedia (en)"
3. "URL"="http://en.wikipedia.org/w/index.php?title=Special:Search&search={searchTerms}"
4. "ShowSearchSuggestions"=dword:00000001
5. "SuggestionsURL_JSON"="http://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0"
6. "SuggestionsURL"="http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0"
7. "OSDFileURL"="http://www.ieaddons.com/en/DownloadHandler.ashx?ResourceId=815"
8. "FaviconURL"="http://en.wikipedia.org/favicon.ico"
9. "FaviconPath"="C:\\Users\\Administrator\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{F4A17A10-6F36-4D73-9875-860EB2868EFA}.ico"
10. "SuggestionsURLFallback"="http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0"
11. "FaviconURLFallback"="http://en.wikipedia.org/favicon.ico"
共十一行.。
第一句:注册表的位置或者类似于储存的地方
第二句:显示名字
第三句:检索的超链接地址或者Url地址,这里特别注意的{searchTerms},这是您检索的关键词的赋值的代码,您想设置您的检索引擎,那么您可以先对您将要设置的搜索引擎检索TEST,如NCBI-PUBMED:
这是您修改为http://www.ncbi.nlm.nih.gov/pubmed/?term={searchTerms},那么您的搜索引擎就可以工作了。
第四句:是否显示搜索推荐,您将最后的1修改为0,就关闭了。
第五句和第六句都是显示搜索推荐的网址。
第七句是IE现在也有插件可以下载了。但是还不是很完善,部分有,部分没有。而且添加个性话搜索引擎,微软已经关闭了,(这个注册表文件,是我在使用windows xp时,IE7的时候建的,大家可能也注意到IE7和IE8在搜索框中都是有自定义搜索引擎的)
第八,九,十一句,都是搜索引擎ICO文件地址,最好是使用网络版的,为啥不用备份,也不用担心像我一样都是小扇子。
第十句跟搜索推荐有关。
但是大家也注意到了,其实用搜索引擎的话,只要1,2,3句就可以实现了,为了美观,您在选择几个ICO地址。
大家觉得这样是不是方便了不少呢?
Orignal From: 让你的windows电脑成为搜索利器 3
没有评论:
发表评论