html - Feature Detect proper handling of Content-Disposition: attachment? -
there known issue ios safari ignore content-disposition: attachment
headers. big problem when trying trigger downloads single page application (i'm using iframe hack open suggestions if has others).
i can test ios directly:
var iosmobile = (function(useragent){ return !!(useragent.match(/ipad/i) || useragent.match(/iphone/i) ); })(window.navigator.useragent);
but i'd rather not browser-sniff. know how can feature detect whether content-disposition handled properly??
Comments
Post a Comment