Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Google Reader Background & Read
Press 'b' to open item in a new tab (when collapsed). Press 'Enter' to open item in a new tab and collapse it (when expanded). Always marks item read when you press 'b' or 's' (for the purpose of counting it in Trends as read).
This script was inspired by the script Google Reader Enter/Return Opens Item in New Tab written by Lenny Domnitser. This script implies (and was written for) following behaviour:
- When an item is collapsed and you want to read it in a new background tab, press 'b'. This also marks the item read so that it'll be counted as read in Trends.
- When an item is expanded and you want to read it in a new background tab, press 'Enter'. This also collapses the item.
- When you star an item by pressing 's', it is marked as read, so that it'll be counted as read in Trends.
The script was tested only in "List mode" in Google Reader. The problems are reported when using it in "Expanded mode", because items are marked read automatically. Please see the comments for details.
|
|
Changing the third parameter of the addEventListener to true seems to get the script working again. Also to stop the script for firing when typing in the searchbox you can use something like
if (event.target.tagName.toUpperCase != "INPUT") {
|
|
|
wei
|
|
|
Sorry, but this doesn't work any longer on a normal basis. It only works after I click on a link. Normal Google Reader keyboard shortcuts then no longer work. |
|
|
Thanks for the comment. At first glance I don't know how to do it quickly. I'll try to figure it out a bit later. I see that you left a similar comment on the script, which my script is based on. If the author of that script finds a solution, please let me know by commenting, and I'll be able to fix this script immediately. |
|
|
Is there a way to make this inactive when the keyboard caret is on the search box? Typing anything with 'b' in the search box causes the post currently being read to open. |
|
|
Well, I've forgotten to mention in the description, that I always use "List mode" and didn't test the script in "Expanded mode". Thank you for pointing this out, I'll edit the description. |
|
|
Works really great but there's no need for the second part (to imitate 'm') because items are automatically marked as read when it's in expanded mode. Having it means that opened items are marked as UNread. |
You could comment on this script if you were logged in.
