- 116 名前:名無しさん@お腹いっぱい。 mailto:sage [2010/03/28(日) 17:35:46 ID:6FQRGUjo0]
- firefoxアップローダにあるAdvancedMouseGestures.zipのMouseGestures(packed).uc.jsを使用しています。
選択範囲のリンクを開くジェスチャを追加したいので SCRAPBLOGにあったスクリプトをお借りして設定しようとしたのですが、どうにも上手くできません。 (ttp://www.xuldev.org/blog/?p=76) ご教示頂ければ幸いです。 下記のように書き込みましたが、他のジェスチャは動くのにこれだけが動作しません。(Unknown Gestureになる) 'LU':{name:'test',cmd:function(){var sel = event.target.ownerDocument.getSelection().toString(); if (!sel) return; var docURL = event.target.ownerDocument.location.href; try { urlSecurityCheck(sel, docURL, Ci.nsIScriptSecurityManager.DISALLOW_SCRIPT); gBrowser.loadOneTab(sel, null, null, null, true, false); } catch(ex) { } ;}},
|

|