Ver código fonte

keysnail.js: add ext chaika-find

pull/1/head
10sr 11 anos atrás
pai
commit
43d3b82739
1 arquivos alterados com 23 adições e 0 exclusões
  1. +23
    -0
      _keysnail.js

+ 23
- 0
_keysnail.js Ver arquivo

@@ -30,6 +30,29 @@
);
})();

(function(){
function evalCode(s){
window.loadURI("javascript:" + s);
}

function find(s){
evalCode("Nodes.findBoxText.value='" + encodeURIComponent(s) + "';" +
"FindBox.find();");
// evalCode("FindBox.show()");
}

function readFind(){
prompt.reader({
message : "Search word?",
callback : function(s){
find(s);
}
});
}

ext.add("chaika-find", readFind, "chaika find");
})();

//////////////////////////////////////
//// sitelocalkeymap
var local = {};


Carregando…
Cancelar
Salvar