Can I Save A Window Object Inside A Localstorage September 16, 2024 Post a Comment Basically I want to open a page with a button, and kill the page with another button. I think that it saves the page object as text, any way arround that? any way arround that?It looks like you don't need persistent storage at all. Just save the the reference in a variable that is visible to both functions.var w; functioninitiate() { w = window.open(...); } functionkill() { w.close(); } CopyThere are better ways to organize your code, but that should give you the idea. Share Post a Comment for "Can I Save A Window Object Inside A Localstorage"
Post a Comment for "Can I Save A Window Object Inside A Localstorage"