Change File ext with GreaseMonkey?

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-04-22T10:12:59Z Indexed on 2010/04/22 10:43 UTC
Read the original article Hit count: 120

Filed under:
|
|

One of the sites i visit has an annoying habit of naming all their files showimage.php. When i save the image or file it saves as a .php so i cannot open the file. The worse part is, there is a &ext=zip&more=blah in the url.

Is it possible to use greasemonkey to rename the file ext so it isnt php? (maybe injecting a content disposition header?)

© Stack Overflow or respective owner

Related posts about php

Related posts about greasemonkey