Browse Source

update hatebu ext

pull/1/head
10sr 11 years ago
parent
commit
b6472c7308
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      _keysnail.js

+ 2
- 3
_keysnail.js View File

@@ -405,9 +405,8 @@ ext.add('send-escape', function (ev, arg) {
}, 'escape'); }, 'escape');


ext.add("open-hatebu-comment", function (ev, arg) { ext.add("open-hatebu-comment", function (ev, arg) {
if (window.loadURI) {
loadURI("javascript:location.href='http://b.hatena.ne.jp/entry?mode=more&url='+encodeURIComponent(location.href);");
}
var url = window.content.location.href.replace(/^[^/]*\/\//, "");
window.content.location.href = "http://b.hatena.ne.jp/entry/" + url;
}, 'hatebu'); }, 'hatebu');


// ext.add("focus-on-content", function(){ // ext.add("focus-on-content", function(){


Loading…
Cancel
Save