ya_sir commited on
Commit
bf76a08
1 Parent(s): 078b61f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -2
index.html CHANGED
@@ -1,12 +1,13 @@
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
- <script>
5
  if (window !== window.top) {
6
- window.top.location = window.location;
7
  }
8
  </script>
9
 
 
10
  <meta http-equiv="Content-Security-Policy" content="frame-ancestors 'none';">
11
 
12
  <script type='text/javascript'>
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
+ <script>
5
  if (window !== window.top) {
6
+ throw new Error("This site cannot be embedded in an iframe.");
7
  }
8
  </script>
9
 
10
+
11
  <meta http-equiv="Content-Security-Policy" content="frame-ancestors 'none';">
12
 
13
  <script type='text/javascript'>