Skip navigation.

Opera 自娱自乐

opera右键定制之四:翻译、词典工具


注:一些搜索引擎已失效,仅提供思路以参考。
此方法是为网页选中文字添加一个翻译、词典工具的右键,以适合中国人的习惯。
一、首先修改profile文件夹下的search.ini文件,在其文本后添加以下内容。如果不想在地址栏显示以下搜索,则不要修改“Key=”值。“Search Engine”后面的数字根据自己的内容依次修改排列。
[Search Engine 11]
Name=WorldLingo翻译
Verbtext=0
URL=http://www.worldlingo.com/wl/translate/zh/microsoft/computer_translation.html
Query=wl_text=%s&wl_gloss=1&wl_srclang=EN&wl_trglang=zh_cn&image.x=0&image.y=0
Key=
Is post=1
Has endseparator=0
Encoding=UTF-8
Search Type=167
Position=-1
Nameid=0

[Search Engine 12]
Name=CNKI英汉/汉英辞典
Verbtext=0
URL=http://dict.cnki.net/dict_result.aspx
Query=databasetj=zysearch&searchword=%s&x=0&y=0
Key=
Is post=1
Has endseparator=0
Encoding=utf-8
Search Type=168
Position=-1
Nameid=0

[Search Engine 13]
Name=Dict.CN
Verbtext=0
URL=http://www.dict.cn/search/?q=%s&x=0&y=0
Key=
Is post=1
Has endseparator=0
Encoding=gbk
Search Type=169
Position=-1
Nameid=0

[Search Engine 14]
Name=辞洋
Verbtext=0
URL=http://www.ciyang.com/search.php?q=%s
Query=
Key=
Is post=0
Has endseparator=-1
Encoding=utf-8
Search Type=170
Nameid=-1752296956
Position=-1

[Search Engine 15]
Name=洪恩双语
Verbtext=0
Query=
Key=
Is post=0
Has endseparator=-1
Encoding=iso-8859-1
Search Type=171
Position=-1
Nameid=0
URL=http://study.hongen.com/dict/ndsearch.aspx?word=%s

[Search Engine 16]
Name=洪恩成语
Verbtext=0
Query=
Key=
Is post=0
Has endseparator=-1
Encoding=UTF-8
Search Type=172
Position=-1
Nameid=0
URL=http://study.hongen.com/dict/ndsearchchengyu.aspx?type=exact&word=%s

[Search Engine 17]
Name=WorldLingo(汉>英)
Verbtext=0
URL=http://www.worldlingo.com/wl/translate/zh/microsoft/computer_translation.html
Query=wl_result=Gateway&wl_text=%s&wl_gloss=1&wl_srclang=ZH_CN&wl_trglang=en&image.x=0&image.y=0
Key=
Is post=1
Has endseparator=0
Encoding=gbk
Search Type=173
Position=-1
Nameid=0

[Search Engine 18]
Name=汉语词典
URL=http://www.qcdata.cn/psearch.aspx?q=%s&dic=HY
Query=
Key=
Is post=0
Has endseparator=0
Encoding=utf-8
Search Type=174
Verbtext=0
Nameid=0
Position=-1

[Search Engine 19]
Name=汉语字典
URL=http://www.qcdata.cn/psearch.aspx?q=%s&dic=HZ
Query=
Key=
Is post=0
Has endseparator=0
Encoding=utf-8
Search Type=175
Verbtext=0
Nameid=0
Position=-1


二、然后找到Opera\defaults下的standard_menu.ini文件,在其[Hotclick Popup Menu]区段下添加:
Submenu, 翻译、词典工具, Translate menu 1


三、在Opera\defaults下的standard_menu.ini文件里,找个适当位置添加:
[Translate menu 1]

Item, CNKI双语 = Hotclick search, 168
Item, Dict.CN双语 = Hotclick search, 169
Item, 洪恩双语 = Hotclick search, 171
Item, 英译汉(WorldLingo) = Hotclick search, 167
Item, 汉译英(WorldLingo) = Hotclick search, 173
--------------------1
Item, 辞洋字典 = Hotclick search, 170
Item, 汉语字典 = Hotclick search, 175
Item, 汉语词典 = Hotclick search, 174
Item, 洪恩成语 = Hotclick search, 172

TheWorld浏览器更改搜索页面显示结果个数为100Opera 9 简繁转换造成左键失灵问题的临时解决办法

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30