gallerypax.blogg.se

Ios safari download attribute
Ios safari download attribute





ios safari download attribute

Var isIE = || !!document.documentMode // At least IE6 I think you can stop searching a solution for now, because I suspect there is none :)Īs noticed in this thread html5 has download attribute, it works also on firefox 20 InternalLoad string in the log: docshell/base/nsDocShell.cpp Where mozilla decides the filename: uriloader/exthandler/nsExternalHelperAppService.cpp Interesting files if you want to look at mozilla sources: data uri handler: netwerk/protocol/data/nsDataHandler.cpp : MIME Info Summary: Type 'application/octet-stream', Primary Ext '' : Searched extras (by type), rv 0x80004005 : Getting mimeinfo from type 'application/octet-stream' ext '' : HelperAppService::DoContent: mime 'application/octet-stream', extension ''

ios safari download attribute

: Found extension '' (filename is '', handling attachment: 0) I've also checked firefox log : DOCSHELL 6e5ae00 InternalLoad data:application/octet-stream base64,SGVsbG8= The code generates a random name plus ".part" The rfc specifices no filename and at least firefox handles no filename for it, I've looked a bit in firefox sources in netwerk/protocol/data/nsDataHandler.cppĭata handler only parses content/type and charset, and looks if there is " base64"







Ios safari download attribute