1<!DOCTYPE html>
2<html>
3<head><title>Page with access to localStorage and sessionStorage</title>
4</head>
5<body>
6    <script type="text/javascript">
7        if (window.localStorage && window.sessionStorage) {
8            parent.window.postMessage("access to window.localStorage and window.sessionStorage", "*");
9        }
10    </script>
11</body>
12</html>
13