msroest / feedbin-extension

Extension for feed bin to auto refresh the page.
0 stars 0 forks source link

Refreshing the subscription panel while on the page. #2

Open Zegnat opened 11 years ago

Zegnat commented 11 years ago

This probably needs some testing but might be interesting to implement. LimitlessPotential discovered this:

If its any help I’m clicking the “view unread button” in the left hand toolbar which refreshes the feeds (providing your in the unread only section, I’d assume clicking the “view all” button would do the same if you were in that section)

And it looks like I have been able to trigger this from the console with:

document.querySelector('.sidebar-button.selected').click();

This could periodically be called even when someone is still reading to refresh the unread counts in the leftmost panel.

msroest commented 11 years ago

Cool I'll play around with that. Might be able to use the same method when the tab isn't selected as well and get away from having to refresh the whole page.