I need a link in an HTML page that could use any JavaScript to "start downloading" a normal webpage / file that is on my webserver, either filetypes like PDF / ZIP or simply the outputs of PHP / ASP / HTML.
I know this is possible with some server-side download script that returns a *mime_content_type* so the browser handles it based on its configuration. (typically Download) but I would really like a JavaScript-only solution. Any ideas?