New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add "document.contentType" #3258

Open
kumavis opened this Issue Mar 22, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@kumavis

kumavis commented Mar 22, 2017

Returns the MIME type that the document is being rendered as. This may come from HTTP headers or other sources of MIME information, and might be affected by automatic type conversions performed by either the browser or extensions.

https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType

@Ugoku

This comment has been minimized.

Show comment
Hide comment
@Ugoku

Ugoku Mar 23, 2017

Contributor

MDN says "only supported by Gecko" but it also works in latest Chrome & Opera. Doesn't work in Edge (so I assume it doesn't work in IE either)

Contributor

Ugoku commented Mar 23, 2017

MDN says "only supported by Gecko" but it also works in latest Chrome & Opera. Doesn't work in Edge (so I assume it doesn't work in IE either)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment