That one doesn’t work as a bookmark in firefox, doesn’t get executed. Loads a blank page with this text “[object Object]” and the script visible as URL.
Thanks for the bookmarklet fix Andrew, it has been updating the feeds.
Hmm, Firefox seems to be encoding it as an actual URL
Right click the bookmark, and click “Properties”. Paste javascript:(function(){var%20length=$('.feed[data-id]').length-1;$('.feed[data-id]').each(function(i,el){$.get('/reader/feed/'+$(el).data('id')).success(function(data){console.log('fetched:%20',$(el).data('id'));length--;if(length===0)location.reload();})})})();
into the “Location” text field.
Updated at http://jsfiddle.net/kL93b0fq/1/
After updating the bookmarklet so it resides in a function (http://jsfiddle.net/gwh8uovn/) this appears to work for me. Thanks!
The bookmarklet worked for me. Thanks Andrew, I’ve been going through rss withdrawal all day… I actually got work done… it was scary.
That’s why I had to write it. Can’t let the higher ups think I’m actually capable of working that hard
It is updating as I type! Thank you so very much for this bookmarklet Andrew! I use Newsblur for my “job” of sorts and this fix is the thing that saved me!
Andrew, you are my hero.
Andrew and all others who helped, can’t thank you enough - I rely so much on Newsblur, didn’t even realize how much until this moment. THANK YOU - YOU FREAKIN ROCK
Andrew, that worked, as far as I can tell, perfectly.
Great job! Thanks!
Updated. Now way faster Assuming it works…
Here is the script, which can be entered into the DevTools console:
var length=$('.feed[data-id]').length-1;$('.feed[data-id]').each(function(i,el){$.get('/reader/feed/'+$(el).data('id')).success(function(data){console.log('fetched: ',$(el).data('id'));length--;if(length===0)location.reload();})})
This version makes the requests directly to the API, and when they’ve all completed, the page will automatically refresh.
Here’s the bookmark link: http://jsfiddle.net/kL93b0fq/
Thanks @tedder42 for the idea