There was an error while loading. Please reload this page.
1 parent 4e08965 commit fba0705Copy full SHA for fba0705
1 file changed
3-frames-and-windows/06-clickjacking/protector.view/iframe.html
@@ -20,7 +20,7 @@
20
<body>
21
22
<div id="protector">
23
- <a href="/" target="_blank">Go to the site</a>
+ <a href="/" target="_blank">به سایت بروید.</a>
24
</div>
25
26
<script>
@@ -31,11 +31,11 @@
31
32
</script>
33
34
- This text is always visible.
+ .این متن همیشه قابل دیدن است
35
36
- But if the page was open inside a document from another domain, the div over it would prevent any actions.
+ .روی آن از هر فعالیتی جلوگیری میکرد div از یک دامنهی دیگر باز بود document اما اگر صفحه درون یک
37
38
- <button onclick="alert(1)">Click wouldn't work in that case</button>
+ <button onclick="alert(1)">در آن صورت کلیک کار نمیکرد.</button>
39
40
</body>
41
</html>
0 commit comments