Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

From the title, it's a silly question.

But let's say I have a URL, and it's either a SWF, a PNG or an MP3 or something. How can I force my browser (in this case I'm using Google Chrome) to download the file, instead of automatically displaying/playing it?

My long & stupid and boring way around this is to create a one line HTM file with a hyperlink inside it pointing to the URL, then right click and save link as. But there has to be a better way to do this. I just can't find it by googling.

share|improve this question
    
Can you provide the URL? –  Matthew Williams Mar 14 at 10:22
    
Sure, I've got it now, but for testing try this: oizo3000.com/flash/projetmpc.swf –  Chud37 Mar 14 at 10:51
    
You can't force your browser to download this. The web link points to a file which contains a built in rendering system which displays the content within the page. If you own the website you can change code to do this, but from your end it would have to be a save as job. –  Matthew Williams Mar 14 at 10:56
    
It's absolute rubbish that Chrome doesnt have this feature built in. I should just be able say right click in the url bar and click save as, but instead I have to go a stupid long winded way. I'm still dertermined there's a solution out there. –  Chud37 Mar 14 at 11:42
    
There might be. Possibly a plugin, but none that I am aware of. –  Matthew Williams Mar 14 at 11:43

1 Answer 1

You can see the files a page loads using Developer Tools. Under the "Sources" tab in Developer Tools you can right-click a file and save it. For example, the webpage http://www.oizo3000.com/flash/projetmpc.swf loads the file "projetmpc.swf".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.