Unable to download using live.datatables.net and Chrome

Unable to download using live.datatables.net and Chrome

kthorngrenkthorngren Posts: 20,142Questions: 26Answers: 4,736
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,112Questions: 1Answers: 2,583
    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: 61,443Questions: 1Answers: 10,053 Site admin

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

    Allan

  • kthorngrenkthorngren Posts: 20,142Questions: 26Answers: 4,736

    Cool, thanks!

    Kevin

This discussion has been closed.