jsa
ショートカットの追加。
<popup id="contentAreaContextMenu"> - <menu label="Actions" insertbefore="context-bookmarklink"> + <menu label="Actions" insertbefore="context-bookmarklink" accesskey="c"> <menupopup id="popJsActionsRoot"
appendMenuItem: function(aParentNode, aLabel, aScriptPath, aScriptURI){ var ownerDoc = aParentNode.ownerDocument; var menuItemNode = ownerDoc.createElement("menuitem"); + menuItemNode.setAttribute("accesskey", aLabel[0]); menuItemNode.setAttribute("label", aLabel); menuItemNode.setAttribute("scriptpath", aScriptPath); menuItemNode.setAttribute("scripturi", aScriptURI); aParentNode.appendChild(menuItemNode); return menuItemNode; },
これでデバッグがちょっと楽になる。
1. 右側のWindowsキーの隣にあるやつ(アプリケーションキーだっけ?)
2. c
3. なにか
で実行。selectするんだったら無理。