From b4fa9bf914db31cfed69535dea9dceda2b62a0e2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 22 Aug 2012 19:48:01 +0900 Subject: [PATCH] fix open-patebu-comment --- _keysnail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_keysnail.js b/_keysnail.js index f2be07e..09abe4e 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -378,7 +378,7 @@ ext.add('send-escape', 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='+escape(location.href);"); + loadURI("javascript:location.href='http://b.hatena.ne.jp/entry?mode=more&url='+encodeURIComponent(location.href);"); } }, 'hatebu');