Examples
This page currently contains a loose collection of examples. Mostly to provide some hints about scenarios that are not that obvious.
The plan is, to bring more structure and coverage to this page later.
Website in an IFrame
You can show a complete website in a slot, using an iframe.
However, an HTTP server can send the X-Frame-Options
header field,
or the newer frame-ancestors
directive in the Content-Security-Policy
field,
to tell the browser that a website is not supposed to be displayed in a frame.
In that case the browser only displays a warning instead of the webpage.
Unfortunately, a lot of large sites do send this header field for security
or corporate brand reasons.
To ignore theses headers in your own web browser, you can try to install an extensions which allows to activate this behavior. This can be helpful, if you like to use your browser for presentation.
- For Firefox try the following search:
https://addons.mozilla.org/en-US/firefox/search/?q=X-Frame-Options - For Chrome the following search should yield some results:
https://chrome.google.com/webstore/search/X-Frame-Options
A display request, showing a web search for “Boomack” would look like this:
{
"src": "https://duckduckgo.com/?q=boomack",
"type": "text/html",
"options": { "iframe": true }
}