-
-
Save alexeyr/3fe7b7f91ec8c0cc8947 to your computer and use it in GitHub Desktop.
Revisions
-
alexeyr revised this gist
Jul 17, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,8 @@ // @name Feedly Tweak - Open feed item in background by pressing 'v' // @namespace http://micbase.com/feedly-tweak-open-item-background-tab-firefox // @description Feedly Tweak - Open feed item in background by pressing 'v' // @include http*://*feedly.com/* // @grant GM_openInTab // ==/UserScript== var x; -
Qingyuan Zhang renamed this gist
Jun 8, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Qingyuan Zhang created this gist
Jun 8, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ // ==UserScript== // @name Feedly Tweak - Open feed item in background by pressing 'v' // @namespace http://micbase.com/feedly-tweak-open-item-background-tab-firefox // @description Feedly Tweak - Open feed item in background by pressing 'v' // @include http*://www.feedly.com/* // ==/UserScript== var x; var link; document.addEventListener('keypress', function(event) { //if user press 'v' key, then open links in new tab in background if (event.which == 118) { x = document.getElementsByClassName('selectedEntry'); //if no feed item selected, exit if (x == null){ return; } link = x[0].getAttribute('data-alternate-link'); link = link.replace('?utm_source=feedly', ''); event.stopPropagation(); event.preventDefault(); GM_openInTab(link); } }, true);