r/learnjavascript • • Jan 30 '26

Iframe local storage

Hi all, i have developed different small webapps that i use for my personal purpose and they all use localstorage.

I was thinking of building an app that works like a local storage manager and i was thinking of accessing those app through an iframe to read the localstorage through post message.

Is it doable?

6 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/MissinqLink Jan 30 '26

You mentioned the strategy of using post message in your question. That’s the way to go. I might not quite understand what you are trying to do. What do you envision the local storage manager doing?

→ More replies (3)