Boris Zbarsky wrote:
> document.location.href =
> "data:application/octet-stream;base64,"+btoa(mydata);
>
> should do the job dandy in Mozilla...
Cool, thanks. It hadn't occured to me that I might be able to pour
things into a document in quite that way. That's better than I'd hoped
for by a long way!
Am I right in thinking it will only work in Mozilla 1.1? It fails in 1.0
on PC and Mac OS X.
My only concern is that this method seems to have dropped from view - it
's not in the fourth edition of the Rhino book, but was in the third
edition, but this is getting off topic, so I'll stop.
> That's because it's an internal URI scheme in Mozilla... and pages with
> this protocol scheme could not be saved for quite a while. What exact
> build of Mozilla are you using?
Mozilla 1.1, 20020826, on Mac OS X. Also tried with Mozilla 1.0 Win 2000.
Thanks,
Matt
--
Matt Patterson | Typographer
<[EMAIL PROTECTED]> | http://www.emdash.co.uk/
<[EMAIL PROTECTED]> | http://reprocessed.org/