reading-list icon indicating copy to clipboard operation
reading-list copied to clipboard

Where are the saved items stored?

Open ifnullzero opened this issue 4 years ago • 9 comments

I was using this add on but after the last FF update it seems to have stopped working - I can still see the icon in the URL bar but clicking it does nothing. It seems "dead". I'm just wondering where this add on stores items that I have previously saved.

I saved about a dozen links and now I cannot access them. Is there any way to access them now? In some local storage somewhere? If so how would I find them? Thanks.

ifnullzero avatar Jun 17 '21 09:06 ifnullzero

Hey there, the reading list items are stored in your local storage unless you are logged in, and then they’ll be synced with your account. They’re accessible through the browser extension storage API. You can see the raw storage output by navigating directly to the popup page for the reading list in a Firefox window. I believe the URL is moz-extension://860f3270-6124-5644-9657-d5387eea5eae/popup.html. Then you can open your developer tools by going to Tools > Browser Tools > Web Developer Tools.

Screenshot of the menu to open the “Web Developer Tools” in Firefox

In the developer tools panel, select Console. Add this code and hit enter to see all the items that are stored for your Reading List.

browser.storage.sync.get(null, (items) => {
  console.log(items);
});

Hope this helps!

alexpdraper avatar Jun 25 '21 17:06 alexpdraper

You can also download all the items stored in your Reading List by going to the Reading List settings and clicking Export.

Screenshot of the Reading List settings page

alexpdraper avatar Jun 25 '21 17:06 alexpdraper

Thank you for responding, I was able to get them via the Export button method.

About the other method (moz-extension URL). I'm interested to see how that works. I tried the URL you mentioned (moz-extension://860f3270-6124-5644-9657-d5387eea5eae/popup.html) but it did not do anything -- when I try it the page just remains where it currently is. Is the URL correct? How would I find out what the correct URL is? Thx.

ifnullzero avatar Jun 26 '21 15:06 ifnullzero

The ID for the reading list might be different for you. I opened the reading list popup, right-clicked inside of it, and selected View Page Source. Then I removed the view-source: from the beginning of the URL that gets opened. Hopefully that works 🤞.

alexpdraper avatar Jun 28 '21 21:06 alexpdraper

Can the addon import large amounts of links? I have a 50000 links list I exported from Onetab but I can't seem to import it in Reading List.

formlessdao avatar Jul 27 '21 15:07 formlessdao

Can the addon import large amounts of links? I have a 50000 links list I exported from Onetab but I can't seem to import it in Reading List.

It cannot. There are limits imposed by the browser on how much storage space the extension can use. You’ll probably get capped at 400–500 items.

alexpdraper avatar Jul 28 '21 21:07 alexpdraper

So reading list can not contain more than max 500 items even if i add them one by one using Reading List itself?

formlessdao avatar Jul 29 '21 05:07 formlessdao

Yes. It’s not a limit of the import/export functionality, it’s a restriction on storage limits set by the browser. Not much we can do about it. The max items will probably be less than 500. It depends on the length of the URLs/titles in the individual reading list items added.

alexpdraper avatar Jul 29 '21 23:07 alexpdraper

Hi, for me it capped at 250 items. Unfortunately it shows as if it could save more, but then they aren't getting into the list. (Seemed like a bug, now it seems more like a UX issue, but I was too lazy to open an issue 😅 )

istvandbsd avatar Aug 17 '21 20:08 istvandbsd