Unable to download using live.datatables.net and Chrome

Unable to download using live.datatables.net and Chrome

kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951
edited July 2020 in Web-site

I noticed recently that http://live.datatables.net that the export buttons aren't allowed to download anymore. I receive this message:

Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more details.

The embedder may add "allow-downloads" to the sandbox attributes list to opt in.

For example:
http://live.datatables.net/vageboru/1/edit

Not sure if this is something you can or want to change in your JS BIN environment. Just mentioning it in case there is something you can and want to change.

EDIT: The workaround is to open into a Live Preview tab.

Kevin

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    edited July 2020

    Looks like a new change to Chrome - on my Linux desktop (older Chrome) it works fine, but yep, I'm seeing the issue on an upto date Windows Chrome. Thanks for reporting, we'll take a ganders and report back,

    Colin

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Thanks Kevin! I've added that attribute to the iframe now :).

    Allan

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951

    Cool, thanks!

    Kevin

This discussion has been closed.