MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Show webpage / iframe and reload

  • @strawberry-3.141 That did it. Loads perfectly now. Thank you for pointing that out!

  • @strawberry-3-141 you mean that fix?

    adding the line:

    iframe.setAttribute("timestamp", new Date().getTime());

    this results in:

    getDom: function() {
                    var iframe = document.createElement("IFRAME");
           = "border:0"
                    iframe.width = this.config.width;
                    iframe.height = this.config.height;
                    iframe.src =  this.config.url + new Date().getTime();
                    iframe.setAttribute("timestamp", new Date().getTime());
                    return iframe;

    but no result

    @usafa43tsolo could you share your .js file please?

    i reinstalled it and then put the fix from @strawberry-3-141 from github.
    now i see in my browser (in the respective frame)
    Cannot GET /

  • Project Sponsor Module Developer

    @fox did you try another webpage? I think it’s possible for a webpage to deny rendering in an iframe

    EDIT: See, when I’m testing this in a simple html file < iframe src="">< /iframe> (without the spaces)

    I get this error Refused to display '' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

  • @strawberry-3-141
    i saw something similar.

    But with your hint of deny i created a .htaccess in the folder of the called page with content

    Options -Indexes

    and now i can see the page !
    Thank you for your hint now we can proceed here.

Log in to reply