Feedly Background Tab

Open link by background tab for Feedly

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name           Feedly Background Tab
// @namespace      http://github.com/dex1t
// @description    Open link by background tab for Feedly
// @include        http*://cloud.feedly.com/*
// @include        http*://feedly.com/*
// @grant          GM_openInTab
// @version 0.0.1.20150104093748
// ==/UserScript==

// code '84' is 't'
var key = 84;

(function() {
  var onKeyDown = function(event) {
    if(event.keyCode == key && !event.shiftKey) {
     var target = document.getElementsByClassName('selectedEntry');
     if (target == null) {
       return;
     }
     link = target[0].getElementsByClassName('entryTitle')[0].href;
     GM_openInTab(link);
   }
 }
 document.addEventListener('keydown', onKeyDown, false);
})();