瀏覽代碼

fix

pull/1/head
10sr 11 年之前
父節點
當前提交
a300125e45
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      _keysnail.js

+ 5
- 1
_keysnail.js 查看文件

@@ -20,7 +20,6 @@ ext.add("open-bookmarks-in-new-tab", function(){
getService(Ci.nsIXULAppInfo).version)) {
return;
}
window.whereToOpenLink = function(e, ib, ia){ return "tab"; };


// I cannot fully understand what happen but keysnail emit error
@@ -38,6 +37,11 @@ ext.add("open-bookmarks-in-new-tab", function(){
// '!(e.altKKey && !ignoreAlt))) ' +
// 'return "tab";')
// );


// This is useless because reload opens new tab.
// window.whereToOpenLink = function(e, ib, ia){ return "tab"; };

}, "open in new tab");
ext.exec("open-bookmarks-in-new-tab");



Loading…
取消
儲存