in Education by
As the fact there are some historical reason and bugs in some browsers (desktop and mobile), not all of them support rfc5987, rfc2231, rfc6266 and others. I'd like to detect it and do some workaround. How can I do the detection especially there are unknown number of mobile browsers? Test Cases for HTTP Content-Disposition header field (RFC 6266) and the Encodings defined in RFCs 2047, 2231 and 5987 JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Don't; the mess Content-Disposition is in partly is caused by servers attempting to do user agent detection and getting it wrong. For desktop browsers the problem is well-understood; either special case IE<9 and Safari, or send them both filename and filename* and let them fallback to ASCII. For mobile browsers I would encourage to do the same: Firefox supports filename*, Android's browser (when I last checked) didn't support non-ASCII at all, and Safari didn't "save as" anyway.

Related questions

0 votes
    As the fact there are some historical reason and bugs in some browsers (desktop and mobile), not all ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    What's concept of detecting support of any css pseudo-class in browser through JavaScript? Exactly, I want ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 17, 2022 in Education by JackTerrance
0 votes
    I am trying to create a java program that performs a login against an achievo instance. I am trying ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    I am trying to create a java program that performs a login against an achievo instance. I am trying ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    which of the following is used to display an alternative content in case browser does not support frames. a. no ... d. true frame Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    I need to open application when power and volume+ buttons long pressed. Does its possible to detect power ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
0 votes
    I have been trying to use the Rekognition API to detect text in an image. I have enabled full ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    How to detect text orientation in an image? It doen't matter if the orientation is upside down (180 ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I would like to code a Wordpress/WooCommerce plugin launching a function every time this is called : ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I would like to code a Wordpress/WooCommerce plugin launching a function every time this is called : ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I'm trying to implement a functionality that can determine which word in the text the user clicked on. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    I have a table structure like this : subscribers with attributes: id, status I want to have a way ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 2, 2022 in Education by JackTerrance
0 votes
    I have a javascript heavy app which has widgets like autocomplete dropdowns and tabs and so forth. Sometimes ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I have a javascript heavy app which has widgets like autocomplete dropdowns and tabs and so forth. Sometimes ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
...