ロケーションバーのアイコンをダブルクリックでIEを開く
Sleipnir 仕様に。前の全選択スクリプトと合わせて使ってます。
(function MyLocationBar() { /* URL の左にあるアイコンをダブルクリックすると IE で同じページを表示する。 (Sleipnir 仕様) */ var IE_PATH = "C:\\Program Files\\Internet Explorer\\iexplore.exe"; function openIE() { var exe = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile); var ss = Cc["@mozilla.org/browser/shell-service;1"].getService(Ci.nsIShellService_MOZILLA_1_8_BRANCH); exe.initWithPath(IE_PATH); ss.openApplicationWithURI(exe, locationbar.value); } var locationicon = document.getElementById("page-proxy-deck"); locationicon.addEventListener('dblclick', openIE, false); })();