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

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -