How to remove “Open” button from File Download Dialog options you get in your browser?


I received one client requirement sometime back asking for removing the “Open” button from the File Download popup you get when you are trying to download any file which cannot be viewed directly on the browser.

Inorder to remove the “Open” button, you can make use of one of the  “meta” tags HTML has given us.

<meta name=”DownloadOptions” content=”noopen”/>

Add this meta tag in your <head> tag and voila…. you can get rid of the”Open” button. See below:

 

Feel free to leave a reply here...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s