Skip to content

Commit 758b24c

Browse files
committed
fix for epub build
1 parent 4c103dc commit 758b24c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

4-frames-and-windows/06-clickjacking/article.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,20 @@ The header may have 3 values:
137137
`ALLOW-FROM domain`
138138
: Allow inside a frame if the parent document is from the given domain.
139139

140-
For instance, Twitter uses `X-Frame-Options: SAMEORIGIN`. Here's the result:
140+
For instance, Twitter uses `X-Frame-Options: SAMEORIGIN`.
141+
142+
````online
143+
Here's the result:
141144
142145
```html
143146
<iframe src="https://twitter.com"></iframe>
144147
```
145148
149+
<!-- ebook: prerender/ chrome headless dies and timeouts on this iframe -->
146150
<iframe src="https://twitter.com"></iframe>
147151
148152
Depending on your browser, the `iframe` above is either empty or alerting you that the browser won't permit that page to be navigating in this way.
153+
````
149154

150155
## Showing with disabled functionality
151156

0 commit comments

Comments
 (0)