replace side-effect with side effect
This commit is contained in:
parent
291b5c05b9
commit
4aa9f818e8
10 changed files with 10 additions and 10 deletions
|
@ -154,7 +154,7 @@ Depending on your browser, the `iframe` above is either empty or alerting you th
|
|||
|
||||
## Showing with disabled functionality
|
||||
|
||||
The `X-Frame-Options` header has a side-effect. Other sites won't be able to show our page in a frame, even if they have good reasons to do so.
|
||||
The `X-Frame-Options` header has a side effect. Other sites won't be able to show our page in a frame, even if they have good reasons to do so.
|
||||
|
||||
So there are other solutions... For instance, we can "cover" the page with a `<div>` with styles `height: 100%; width: 100%;`, so that it will intercept all clicks. That `<div>` is to be removed if `window == top` or if we figure out that we don't need the protection.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue