From c7aac494fc71296fc01cbc0bcd25d2a83a05e9b2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 28 Sep 2013 21:08:58 +0900 Subject: [PATCH] add ext feed-add-to-feedly --- _keysnail.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_keysnail.js b/_keysnail.js index 11c67cf..6be2801 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -522,6 +522,14 @@ ext.add("restart-firefox-add-menu", function(){ ///////////////////////////////////////// // feed url + +ext.add("feed-add-to-feedly", function(){ + var url = window.content.location.href; + window.content.location.href = + "http://cloud.feedly.com/#subscription%2Ffeed%2F" + + encodeURIComponent(url); +}, "Add current feed to feedly"); + (function(){ var feedhandler = "http://cloud.feedly.com/#subscription%2Ffeed%2F%s";