292
Finally found a fix how to stop firefox downloading each PDF to your local drive
(connect.mozilla.org)
A place to discuss the news and latest developments on the open-source browser Firefox
Great that it seems to work for you, but I've been experiencing this bug for months now if not longer.
I made the changes OP suggested, and now it seems to work correctly.