Re: How to get Content-Type?

On 4/10/11 4:02 AM, Nathan wrote:
> Is there any way to get the Content-Type for the document currently
> being presented? (text/plain, text/html, etc)

Gecko implements document.contentType for this purpose, for what it's worth.

-Boris

Received on Sunday, 10 April 2011 16:54:14 UTC