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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -