osx

Inline pdf with filename in Chrome on Mac  #angularjs #reactjs

  • Stack Overflow works best with JavaScript enabled
  • Join the Stack Overflow Community
  • Stack Overflow is a community of 6.7 million programmers, just like you, helping each other.
  • sign up log in tour help
  • Browse other questions tagged osx google-chrome pdf filenames content-disposition or ask your own question .

I’m experiencing an issue. My website has a section that displays a pdf inline. I would like it to be the case that if the user subsequently downloads the file, the default filename is the filename I specified with the content disposition. This works correctly on most browsers, but when I use Chrome from a Mac it doesnt.

@ng_real_ninja: Inline pdf with filename in Chrome on Mac #angularjs #reactjs

I’m experiencing an issue. My website has a section that displays a pdf inline. I would like it to be the case that if the user subsequently downloads the file, the default filename is the filename I specified with the content disposition. This works correctly on most browsers, but when I use Chrome from a Mac it doesnt.

Is there something I can do differently to make it work for Chrome/Mac? Is this a bug in Chrome?

osx