for my extension i am developing, I would like to detect what type of document (i.e. jpg, html, xml, txt...), in order to determine what script to run. Is there any way for me to detect the type by DOM?
I have tried document.documentElement. It always return "html" even the page is an image file. Thanks -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
