To put it as briefly as possible, when I save code (to edit, try, etc.) from <code> boxes, I can follow two paths: open in another tab, then 'save as' and 'save destination as' from the contextual menu on the [download] link; the default save name is a conveniently numbered '*.pl' and [download].htm respectively. I understand that the former comes from a header of the form (actual example:)
content-disposition: inline; filename=718041.pl
I am also aware that the difference in behaviour is at best browser dependent, so
- the OT part of my question here is: does anybody know of a FF plugin or "hidden" config that will make 'save destination as' look at the headers as well and in case suggest the "correct" filename as a default? (I've searched, but to no avail...)
- The IT part of it is whether some CSS (e.g. by means of a display: none; property) / JS (to be used by means of the Free Nodelet) / whatever trick may be adopted on the link to similarly suggest the browser the "correct" default filename.