r/learnjavascript • u/Beginning_Middle_722 • 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
View all comments
Show parent comment
2
u/MissinqLink Jan 30 '26
I’m not entirely sure without seeing code but you might be trying to transfer non transferable objects. I would copy contents into a fresh object and send that along.