API for javscript
localStorage works across the entire domain. This should work.
E.g you do
localStorage.setItem('someThing','xyz'); on test.tussiez.repl.co/index.html
someThing will still be
xyz on test.tussiez.repl.co/page2.html