Skip to content

Commit

Permalink
fix for epub build
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakan committed Oct 18, 2018
1 parent 4c103dc commit 758b24c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 4-frames-and-windows/06-clickjacking/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,20 @@ The header may have 3 values:
`ALLOW-FROM domain`
: Allow inside a frame if the parent document is from the given domain.

For instance, Twitter uses `X-Frame-Options: SAMEORIGIN`. Here's the result:
For instance, Twitter uses `X-Frame-Options: SAMEORIGIN`.

````online
Here's the result:
```html
<iframe src="https://twitter.com"></iframe>
```
<!-- ebook: prerender/ chrome headless dies and timeouts on this iframe -->
<iframe src="https://twitter.com"></iframe>
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.
````

## Showing with disabled functionality

Expand Down

0 comments on commit 758b24c

Please sign in to comment.