====== get and go selection links ======
meta-creation_date: 2006-12-01T07:32:26+09:00
meta-tags: opera,javascript,userjs,menu.ini,get-n-go-selection-links.js
meta-author: t_ashula
meta-entiry_id: get_n_go_selection_links
選択部分のリンクとか 画像とかスクリプトをポップアップで開きまくるというUserJSを作ってみた.
追記:[[opera:tips:get_n_go_selection_links_version_0_3_release]]
Ctrl+Jでページ全体のは見られるのだけど,選択範囲のだけできないですかねという話が [[http://mixi.jp/view_bbs.pl?id=6668732&comm_id=315| mixi/おぺらコミュ]]で出てたのが開発のそもそもの動機.
選択部分のソースを表示する[[http://my.opera.com/community/forums/topic.dml?id=140523|View Selection Source]] というUserJSがあるので,ソースが見られるのなら何でも出来そうだなといじってみたのがこれ.[[http://ashula.info/files/opera/tips/get-n-go-selection-links.js|get-n-go-selection-links.js]]
基本的には,基にした[[http://my.opera.com/community/forums/topic.dml?id=140523|View Selection Source]]と同じで,userjsのフォルダに入れて menu.ini を編集して呼びだすという形で作成.
=====インストール=====
簡単にインストール方法を説明すると
- まず,[[http://ashula.info/files/opera/tips/get-n-go-selection-links.js|get-n-go-selection-links.js]] を UserJS のフォルダにダウンロード
- opera:config#UserPrefs|MenuConfiguration で menu.ini の位置を確認して一度Operaを終了する.
- menu.ini の [Hotclick Popup Menu] のところに 以下の項目を追加
Item, "Get-n-Go Selection links"="Go to page, "javascript:opera.getAndGoSelectionLinks()""
- Operaを起動して,適当なページで適当に選択してコンテキストメニューから呼び出してみる.
View Selection Sourceのフォーラムの情報を元にすれば,bookmarkletタイプへの変換も簡単に出来るのでご自由にどうぞ.