GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Cendyne (cendyne@furry.engineer)'s status on Friday, 17-Jan-2025 05:37:01 JSTCendyneCendyne

    I've been HTMLing over half my life now (what a thing to say) and only today I learn there's a `download` attribute for the anchor tag. You can just straight up say "this link should be downloaded" instead of doing some content-disposition header?

    download attribute: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download

    content-disposition https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition

    In conversationabout 5 months ago from furry.engineerpermalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
      Content-Disposition - HTTP | MDN
      from MozDevNet
      The HTTP Content-Disposition header indicates whether content should be displayed inline in the browser as a web page or part of a web page or downloaded as an attachment locally.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.