blob: 7ec7d7a4e815dbdafbf48488547425649b170bba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<html>
<head><title>Page with access to localStorage and sessionStorage</title>
</head>
<body>
<script type="text/javascript">
try
{
if (window.localStorage && window.sessionStorage) {
parent.window.postMessage("access to window.localStorage and window.sessionStorage", "*");
}
}
catch(e)
{
parent.window.postMessage("no access to window.localStorage and window.sessionStorage", "*");
}
</script>
</body>
</html>
|