I am unable to create a
Download Link
that functions on a source hut pages site. It will only work when opening in a new tab.
It fails in both Chromium and Firefox.
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
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.
By Creative Commons, fixed by Quibik - Own work using: Official Creative Commons' base, Public Domain, https://commons.wikimedia.org/w/index.php?curid=1484324