Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I am currently stuck at how to save info in such a way that extension could use it. I have problems with samewing data to local storage of browser so, I dont know how to do that. The best way seems to be do as it is to download data as txt file and then user manually open it in extension as a list.

(+1)

Me neither. I was fumbling through some tutorials and have problems with elementary stuff, mostly because the logic of javascript is alien to me. And stuff like the popup of an extension having its own console.

That would be the doc for storage.

But for starters, exporting the list is a good idea. That can be used for other things as well. Also, if you can import lists you can sync to other browsers.

I am currently stuck at how to save info in such a way that extension could use it.

Yeah. Certain items cannot be saved directly. Would be too easy. I do it with JSON.stringify(Array.from(xxx))

Current headache inducer is event listeners and url filter for me. And why it does not work on new tabs.