javascript - How to disable Firefox default PDF viewer / Plugin using asp.net? -
i need disable firefox default pdf.js viewer through javascript (or) asp.net. found 1 non-programmatic solution in firefox options:
options--> application-->content type portable document format action default preview in firefox
there can change use adobe acrobat reader, how can in code? how can firefox browser applications action in java script code.
if send following header response containing pdf:
content-disposition: attachment
the browser treat file download instead of document display, when opened open users default pdf viewer.
Comments
Post a Comment