Website not showing in "Website" widget

Some websites might not display correctly when you use the "Website" widget. The reason for this is, that the tool displays the website in an iframe. If the website is not displayed correctly, the target site is using a so-called Framebuster. In such cases the target site has a code similar to this:

<script type="text/javascript">
if (top!=self) top.location.href=self.location.href;
</script>

 

There are two ways to solve this.

  1. Remove the Framebuster if you have access to the website in question.
  2. If you do not have access to the website you can use the widget "new page" instead. This will open the website in a new tab instead of in the module, but the site will be displayed correctly.