proglog

主にプログラミングに関する断片的メモ

[Firefox][ldr] UserScriptLoaderとKeybind

  • firefox 4
  • userChromeJS 1.3
  • UserScriptLoader 0.1.4

という環境で、LDRのKeybind関数を使おうとする。
バインドしたキーを押すと、

エラー: this._keyfunc[input].call is not a function
ソースファイル: http://reader.livedoor.com/js/event.0.3.5.js
行: 473

というエラーが出る。

win.addEventListener('load', function(){
  win.Keybind.add("T", function(){
    alert("aaaa");
  });
}, true);

これでも。

どういうことなんだろう?

現状、scriptishと併用。
LDR FULL FEEDをこれで。