Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are the saved items stored? #135

Open
ifnullzero opened this issue Jun 17, 2021 · 9 comments
Open

Where are the saved items stored? #135

ifnullzero opened this issue Jun 17, 2021 · 9 comments

Comments

@ifnullzero
Copy link

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.

@alexpdraper
Copy link
Owner

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
Copy link
Owner

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

@ifnullzero
Copy link
Author

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.

@alexpdraper
Copy link
Owner

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 🤞.

@formlessdao
Copy link

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.

@alexpdraper
Copy link
Owner

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.

@formlessdao
Copy link

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

@alexpdraper
Copy link
Owner

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.

@istvandbsd
Copy link

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 😅 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants