Page 1 of 1

Add Custom URL dashlet to dashboard

Posted: Thu Jun 03, 2021 9:28 am
Hi all,
Is there a way to add a Custom URL dashlet to a dashboard?
All most used browsers (Firefox - Chrome - IE) won't allow to run a custom url within its dashboard page (it generates an error message).
I couldn't find any hits on this topic.

Re: Add Custom URL dashlet to dashboard

Posted: Thu Jun 03, 2021 3:04 pm
by dchurch
Hi!

What URL are you trying to load into the Custom URL dashlet?

The Custom URL dashlet loads the URL into an <iframe>. There are browser-enforced ways to prevent loading a site into an <iframe>, so if the server indicates it doesn't want its pages loaded into an <iframe>, there's really nothing we can reasonably do without modifying the server's code.

Basically, the server sends a header "X-Frame-Options: deny" and that indicates to the browser that it shouldn't display the page in a frame. This is to prevent clickjacking.

To make this work, the server would have to omit this header from the HTTP response.

- Current browsers supporting the X-Frame-Options header: https://caniuse.com/x-frame-options