Skip to content

Commit fba0705

Browse files
Update iframe.html
1 parent 4e08965 commit fba0705

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • 3-frames-and-windows/06-clickjacking/protector.view

3-frames-and-windows/06-clickjacking/protector.view/iframe.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121

2222
<div id="protector">
23-
<a href="/" target="_blank">Go to the site</a>
23+
<a href="/" target="_blank">به سایت بروید.</a>
2424
</div>
2525

2626
<script>
@@ -31,11 +31,11 @@
3131

3232
</script>
3333

34-
This text is always visible.
34+
.این متن همیشه قابل دیدن است
3535

36-
But if the page was open inside a document from another domain, the div over it would prevent any actions.
36+
.روی آن از هر فعالیتی جلوگیری می‌کرد div از یک دامنه‌ی دیگر باز بود document اما اگر صفحه درون یک
3737

38-
<button onclick="alert(1)">Click wouldn't work in that case</button>
38+
<button onclick="alert(1)">در آن صورت کلیک کار نمی‌کرد.</button>
3939

4040
</body>
4141
</html>

0 commit comments

Comments
 (0)