/html/hash2parent.html
http://xssinterface.googlecode.com/ · HTML · 15 lines · 13 code · 2 blank · 0 comment · 0 complexity · 2b314e29eeafd662c95ccfe981867894 MD5 · raw file
- <html>
- <head>
- <title>Hash 2 parent</title>
- <script type="text/javascript">
- if(window.location.hash.indexOf("#")==0){
- var id = window.location.hash.substring(1);
- if(parent[id] && parent[id].XSSInterfaceCallback)
- parent[id].XSSInterfaceCallback(window);
- }
- </script>
- </head>
- <body></body>
- </html>