[Greasemonkey] Greasemonkey and XHTML

Alf Eaton lists at hubmed.org
Tue Mar 21 20:23:24 EST 2006


As a minimal stylesheet which doesn't affect the actual document,  
this prevents GM from working:

<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/ 
Transform'>
	<xsl:template match="*">
		<xsl:copy-of select="."/>
	</xsl:template>
</xsl:stylesheet>

After running that transformation, Firefox says that the document is  
text/xml, whereas before it was application/xhtml+xml.

alf.


More information about the Greasemonkey mailing list