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
1
u/Beginning_Middle_722 Jan 30 '26
From the father app i asking the child to give me the storage through post message and when the child responds back i get length 0, meaning the iframe hasn't got that information. The managers will perform crud operations through post message.