Opera

私がOpera 再導入にすることのメモ。Operaの本家はこちら。参考にしたのはIdiot's Site For OperaTips for Opera 7、http://www.geocities.jp/masayacom/tips.htm。情報を公開して下さった方々に感謝します。

この改造を真似て不具合が生じても責任は負えません、あくまで設定の変更は自己責任にて行ってください。

しかし、ディレクトリ構造やツールがばれますなぁ…うーむ。

1.アンインストール

2.インストール

3.profile\menu\menu.ini

Opera Preferences version 2.0
; Menu specification file for Opera 7.0
; This file is stored in UTF-8 encoding

[Version]
File Version=2

[Info]
Name=芋カスタム
Description=Opera Standard menu setup
Author=芋
Version=1

[Document Popup Menu]
Include, Browser Bookmarks Menu=
--------------------1
Submenu, 2200, Accessed Pages=
--------------------2
Item, 2020 = Execute program, "iexplore","%u"
Item, 51735= Zoom to, 150
Submenu, 2000, IMO Menu=
Submenu, 2100, Site Control Menu=

[Accessed Pages]
Include, Internal Window List
--------------------1
Item, 50836	= Manage, "transfers"
--------------------2
Include, Internal Closed Window List

[Workspace Menu]
Include, Document Popup Menu

[Link Popup Menu]
Item, 50216= Copy link
Item, 50761= Save link
Item, 67350= Download url
--------------------1
Submenu, 22235, Document Popup Menu
Item, 2026 = Copy link & Execute program, "iexplore.exe", "%c"
--------------------2
Include, Hotclick Popup Menu
--------------------3
Submenu, 3040, Link Popup Menu Original

[Link Popup Menu Original]
Item, 67389		= Open link
Item, 53018		= Open link in new page
Item, 53019		= Open link in background page
--------------------1
Item, 54020		= Open link in new window
Item, 67633		= Open link in background window
--------------------2
Item, 50418		= Add link to bookmarks
Item, 50216		= Copy link
Item, 50761		= Save link
Item, 67350		= Download url
--------------------4
Submenu, 22235,		Document Popup Menu

[Hotclick Popup Menu]
Item, 67394= Go to page, "%t"
Item, 50872= Copy
--------------------1
Include, Internal Search With
--------------------2
Item, 2020 = Copy & Execute program, "iexplore.exe", "%c"
Submenu, 22235, Document Popup Menu
Submenu, 3030, Hotclick Popup Menu Original

[Hotclick Popup Menu Original]
Item, 50872			= Copy
Item, 67652			= Copy to note
--------------------1
Item, 65184				= Hotclick search, 200 
;Submenu, 291920, Search with menu
Submenu, 291920, Internal Search With
Item, 65187			= Hotclick search, 50
Item, 65188			= Hotclick search, 51
--------------------2
Submenu, 291960, Translate menu
;Item, 65186		= Hotclick search, 52 
--------------------3
Item, 67394				= Go to page, "%t"
Item, 65218			= Send text in mail

[IMO Menu]
Item, 51730= Zoom to, 50
Platform Windows-Unix-QNX, Item, 50018			= Cascade
Platform Windows-Unix-QNX, Item, 50019		= Tile vertically
Platform Windows-Unix-QNX, Item, 51136		= Tile horizontally
--------------------2
Item, 2010 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\profile\menu\menu.ini"
Item, 2011 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\profile\opera6.ini"
Item, 2012 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\profile\jp_imo.lng"
Item, 2013 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\profile\toolbar\minimal_toolbar.ini"
Item, 2014 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\defaults\standard_menu.ini"
Item, 2015 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\profile\search.ini"
Item, 2016 = Execute program, "d:\tool\jmedit2024\JmEdit2.exe","c:\tool\Opera\search.ini"
Item, 2030 = Execute program, "d:\tool\ffftp\ffftp.exe"
--------------------3
Include, Browser Menu Bar
--------------------4
Include, Document Popup Menu Original

[Site Control Menu]
Item, 51788 = Set encoding, "AUTODETECT-JP"
Item, 51778 = Set encoding, "shift_jis"
Item, 51751 = Set encoding, "utf-8"
Item, 51779 = Set encoding, "iso-2022-jp"
Item, 51781 = Set encoding, "euc-jp"
Item, 67445 = Select author mode
Item, 67446 = Select user mode
--------------------1
Item, 50215 = Copy document address
Item, 50432= Duplicate page
Include, Document Background Menu
--------------------2
Include, Frame Menu
--------------------3
Item, 1720= Go to link element, "stylesheet"
Item, 1000= Go to link element, "index"
;Item, 1015= Go to link element, "navigator"
;Item, 1025= Go to link element, "search" | Go to link element, "find"
;Item, 1026= Go to link element, "search"
;Item, 1027= Go to link element, "find"
;Item, 1035= Go to link element, "home" | Go to link element, "top" | Go to link element, "origin"
;Item, 1036= Go to link element, "home"
;Item, 1037= Go to link element, "top"
;Item, 1038= Go to link element, "origin"
;Item, 1045= Go to link element, "up" | Go to link element, "parent"
;Item, 1046= Go to link element, "up"
;Item, 1047= Go to link element, "parent"
;Item, 1055= Go to link element, "child"
;Item, 1065= Go to link element, "sibling"
--------------------4
Item, 1100= Go to link element, "start"
;Item, 1105= Go to link element, "start" | Go to link element, "begin" | Go to link element, "first"
;Item, 1106= Go to link element, "begin"
;Item, 1107= Go to link element, "first"
Item, 1110= Go to link element, "prev" | Go to link element, "previous"
;Item, 1111= Go to link element, "prev"
;Item, 1112= Go to link element, "previous"
Item, 1120= Go to link element, "next"
;Item, 1135= Go to link element, "end" | Go to link element, "last"
;Item, 1136= Go to link element, "end"
;Item, 1137= Go to link element, "last"
--------------------5
Item, 1200= Go to link element, "contents" | Go to link element, "toc"
;Item, 1201= Go to link element, "contents"
;Item, 1202= Go to link element, "toc"
Item, 1210= Go to link element, "chapter"
Item, 1220= Go to link element, "section"
Item, 1230= Go to link element, "subsection"
Item, 1240= Go to link element, "appendix"
;--------------------6
;Item, 1305= Go to link element, "author"
;Item, 1315= Go to link element, "editor"
;Item, 1325= Go to link element, "publisher"
;Item, 1335= Go to link element, "made"
;Item, 1345= Go to link element, "owner"
;Item, 1355= Go to link element, "editor"
--------------------7
Item, 1400= Go to link element, "glossary"
;Item, 1405= Go to link element, "glossary" | Go to link element, "definition"
;Item, 1406= Go to link element, "definition"
;Item, 1425= Go to link element, "footnote"
;--------------------8
Item, 1500= Go to link element, "alternate"
;Item, 1505= Go to link element, "alternate" | Go to link element, "translation"
;Item, 1506= Go to link element, "translation"
;--------------------9
Item, 1600= Go to link element, "bookmark"
;Item, 1615= Go to link element, "biblioentry" | Go to link element, "bibliography"
;Item, 1616= Go to link element, "biblioentry"
;Item, 1617= Go to link element, "bibliography"
;Item, 1625= Go to link element, "citation"
;--------------------10
Item, 1700= Go to link element, "help"
Item, 1710= Go to link element, "copyright"
;Item, 1715= Go to link element, "copyright" | Go to link element, "disclaimer"
;Item, 1716= Go to link element, "disclaimer"
Item, 1720= Go to link element, "stylesheet"
;Item, 1735= Go to link element, "banner"
;Item, 1745= Go to link element, "trademark"
;Item, 1755= Go to link element, "meta"
;Item, 1765= Go to link element, "shortcut icon" | Go to link element, "icon"
;Item, 1766= Go to link element, "shortcut icon"
;Item, 1767= Go to link element, "icon"
;Item, 1775= Go to link element, "documentation"
;Item, 1785= Go to link element, "hotlist"
;Item, 1795= Go to link element, "pointert"
;Item, 1805= Go to link element, "URC"
;Item, 1810= Go to link element, "script"
;Item, 1999= Go to link element, "test", "", , "Go to link element" | Go to link element, "stylesheet"

[Browser Bookmarks Menu]
Include, Internal Bookmark Folder, 1
--------------------1
Item, 50087		= Add to bookmarks

[Bookmark Folder Menu]
Include, Internal Bookmark Folder
--------------------1
Item, 21501		= Add to bookmarks, -2

4.jp_imo.lng

これはopera7.54u2日本語版などに付属してあるものに追記する。ところでオリジナルメニューに開放しているリソース番号の範囲ってどこからどこまでなのだろうか。

;-----------------------------------------ページ構造
1000="索引         index"
1015="案内         navigator"
1025="検索         search, find"
1026="検索         search"
1027="検索         find"
1035="ホーム       home, top, origin"
1036="ホーム       home"
1037="最上位       top"
1038="最上位       origin"
1045="親階層       up, parent"
1046="親階層       up"
1047="親階層       parent"
1055="子階層       child"
1065="同階層       sibling"
;-----------------------------------------順序
1100="最初         start"
1105="最初         start, begin, first"
1106="最初         begin"
1107="最初         first"
1110="前へ         prev, previous"
1111="前へ         prev"
1112="前へ         previous"
1120="次へ         next"
1135="最後         end, last"
1136="最後         end"
1137="最後         last"
;-----------------------------------------文書構造
1200="目次         contents, toc"
1201="目次         contents"
1202="目次         toc"
1210="章           chapter"
1220="節           section"
1230="項           subsection"
1240="付録         appendix"
;-----------------------------------------運営陣
1305="著作者       author"
1315="編集者       editor"
1325="版元         publisher"
1335="作成者       made"
1345="所有者       owner"
1355="執筆用具     editor"
;-----------------------------------------辞書
1400="用語集       glossary"
1405="用語集       glossary, definition"
1406="用語集       definition"
1425="脚注         footnote"
;-----------------------------------------異版
1500="代替書       alternate"
1505="代替書       alternate, translation"
1506="翻訳版       translation"
;-----------------------------------------参考文献
1600="参考         bookmark"
1615="文献         biblioentry, bibliography"
1616="文献         biblioentry"
1617="文献         bibliography"
1625="引用元       citation"
;-----------------------------------------補佐
1700="ヘルプ       help"
1710="著作権       copyright"
1715="著作権       copyright, disclaimer"
1716="お断り       disclaimer"
1720="表現         stylesheet"
1735="バナー       banner"
1745="商標         trademark"
1755="その他       meta"
1765="アイコン     shortcut icon, icon"
1766="アイコン     shortcut icon"
1767="アイコン     icon"
1775="仕様書       documentation"
1785="ホットリスト hotlist"
1795="指針         pointert"
1805="URCって何    URC"
1810="スクリプト   script"
1999="テスト       test, stylesheet"
;-----------------------------------------芋メニュー
2000="芋メニュー"
2010="profile\\menu\\menu.iniを編集"
2011="profile\\Opera6.iniを編集"
2012="jp_imo.lngを編集"
2013="profile\\toolbar\\minimal_toolbar.iniを編集"
2014="defaults\\standard_menu.iniを編集"
2015="profile\\search.iniを編集"
2016=".\\search.iniを編集"
2020="0エクスプローラで開く"
2021="1エクスプローラで開く"
2022="2エクスプローラで開く"
2023="3エクスプローラで開く"
2024="4エクスプローラで開く"
2025="5エクスプローラで開く"
2026="6エクスプローラで開く"
2027="7エクスプローラで開く"
2028="8エクスプローラで開く"
2030="ffftpを起動"
2100="サイト操作メニュー"
2200="読み込んだページ"
;-----------------------------------------元メニュー
3000="ブラウザ元メニュー"
3010="リンク元メニュー"
3020="文書元メニュー"
3030="選択元メニュー"
3040="リンク元メニュー"
;-----------------------------------------終わり

5.profile\search.ini

Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding

[Version]
File Version=4

[Search Engine 1]
Name= 1 Google
URL=http://www.google.co.jp/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8&hl=ja&lr=lang_ja
Query=
Key=g
Is post=0
Has endseparator=0
Encoding=utf-8
Search Type=0
Verbtext=17063
Position=-1
Nameid=0

[Search Engine 2]
Name= 2 wikipedia
URL=http://ja.wikipedia.org/wiki/%s
Query=
Key=w
Is post=0
Has endseparator=0
Encoding=utf-8
Search Type=0
Verbtext=17063
Position=-1
Nameid=0

[Search Engine 3]
Name= 3 goo国語辞典
URL=http://dictionary.goo.ne.jp/search.php?MT=%s&kind=jn
Query=
Key=g
Is post=
Has endseparator=
Encoding=EUC-JP

[Search Engine 4]
Name= 4 goo英和辞典
URL=http://dictionary.goo.ne.jp/cgi-bin/dict_search.cgi?sw=0&MT=%s
Query=
Key=k
Is post=
Has endseparator=
Encoding=EUC-JP

[Search Engine 5]
Name= 5 goo和英辞典
URL=http://dictionary.goo.ne.jp/cgi-bin/dict_search.cgi?sw=1&MT=%s
Query=
Key=l
Is post=
Has endseparator=
Encoding=EUC-JP

[Search Engine 6]
Name=6 和訳
URL=http://www.infoseek.co.jp/Honyaku?tain=%s&to=EJ&svp=OPER&pg=honyaku_t_inout.html
Query=
Key=A
Is post=0
Has endseparator=0
Encoding=iso-8859-1
Search Type=118
Verbtext=17063
Position=-1
Nameid=0

[Search Engine 7]
Name=7 英訳
URL=http://www.infoseek.co.jp/Honyaku?tain=%s&to=JE&svp=OPER&pg=honyaku_t_inout.html
Query=
Key=B
Is post=0
Has endseparator=0
Encoding=EUC-JP
Search Type=119
Verbtext=17063
Position=-1
Nameid=0

[Search Engine 8]
Name=8 DK3 キャラクター
URL=http://jun.sakura.ne.jp/~dk3/cgi-bin/search.cgi?character_name=%s
Query=
Key=D
Is post=
Has endseparator=
Encoding=shift_jis

[Search Engine 9]
Name=9 DK3 パーティ
URL=http://jun.sakura.ne.jp/~dk3/result/result%s.html
Query=
Key=K
Is post=
Has endseparator=
Encoding=shift_jis

[Search Engine 10]
Name=10 DK3 エントリー番号
URL=http://jun.sakura.ne.jp/~dk3/cgi-bin/search.cgi?eno=%s
Query=
Key=K
Is post=
Has endseparator=
Encoding=shift_jis

[Search Engine 11] 
Name=11 2chスレッド 
URL=http://www2.ttsearch.net/s.cgi?k=%s&o=b 
Query= 
Key=h 
Is post=0 
Has endseparator=0 
Encoding=SHIFT_JIS 
Search Type=307 
Verbtext=17063 
Position=15 
Nameid=0 

[Search Engine 12] 
Name=12 弥助ログ 
URL=http://www.yaske.com/opera-search/index.cgi?query=%s&whence=0&max=50&result=normal&sort=score 
Query= 
Key=y 
Is post=0 
Has endseparator=0 
Encoding=EUC-JP 
Search Type=302 
Verbtext=17063 
Position=15 
Nameid=0 

6.芋→Opera6.iniを編集

[User Prefs]
Show Menu = 0
Cache Directory4=z:\opera(ramディスク)

7.ツールバーのカスタマイズ

[ボタン]ページを閉じる

8.あとは

バーをゆっくりまったりぶっ飛ばして、右クリックで広々の世界へカスタマイズ…。

Opera