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

java - Cast from Object to List<String>: CastClassException -

How to set a border for android Imageview in Longpress? -

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