[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 2chのread.cgiへ]
Update time : 12/28 03:10 / Filesize : 259 KB / Number-of Response : 754
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

firefox userChrome.js greasemonkeyスクリプトスレ



51 名前:名無しさん@お腹いっぱい。 mailto:sage [2007/02/22(木) 18:53:42 ID:VxrGsPbw0]
てきとーに作ってみた

(function() {
var m = document.getElementById("contentAreaContextMenu").appendChild(document.createElement("menuitem"));
m.setAttribute("label", "IE");
m.setAttribute("oncommand", "ucjs_openIE();");
})();

function ucjs_openIE() {
const IE_PATH = "C:\\Program Files\\Internet Explorer\\iexplore.exe";
var args = new Array();
args.push(window._content.location.href);
var application = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
application.initWithPath(IE_PATH);
if (!application.exists()) alert("error: application doesn't exist\n" + IE_PATH);
var process = Components.classes["@mozilla.org/process/util;1"].createInstance(Components.interfaces.nsIProcess);
process.init(application);
process.run(false, args, args.length);
}






[ 続きを読む ] / [ 携帯版 ]

全部読む 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<259KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef