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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -