firefox userChrome.js greasemonkeyスクリプトスレ 2
at SOFTWARE
433:part2
07/09/12 21:45:39 2OxpCduk0
>>430 後半部分
var newItem = document.createElement("menuitem");
newItem.setAttribute("label", "\u9078\u629e\u7bc4\u56f2\u3092\u958b\u304f");
newItem.setAttribute("id", "OpenSelection_menu");
newItem.setAttribute("oncommand", "SelectionAsURL();");
newItem.setAttribute("accesskey", "o");
document.getElementById("contentAreaContextMenu").appendChild(newItem);
document.getElementById("contentAreaContextMenu").addEventListener("popupshowing", function() {
document.getElementById("OpenSelection_menu").hidden = !gContextMenu.isTextSelected;
}, false);
})();
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5373日前に更新/280 KB
担当:undef