Skip to content

HTML a element reference: example cannot work, it doesn't allow download #42463

@jasonren0403

Description

@jasonren0403

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a

What specific section or headline is this issue about?

Example painting app with save link

What information was incorrect, unhelpful, or incomplete?

'Download my painting' do not work, opening devtools it said:

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. (Edge)
Content-Security-Policy: The page’s settings blocked the loading of a resource (frame-src) at data:image/png;base64,iVBORw0KGgoAAAANSU… because it violates the following directive: “frame-src 'self' https://mdn.github.io/ https://*.mdnplay.dev https://*.mdnyalp.dev https://*.play.test.mdn.allizom.net https://v2.scrimba.com/ https://scrimba.com/ https://jsfiddle.net/ https://www.youtube-nocookie.com/ https://codepen.io/ https://survey.alchemer.com/ https://js.stripe.com/” (Firefox)

What did you expect to see?

'Download my painting' should work

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:HTMLHypertext Markup Language docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions