[Greasemonkey] Greasemonkey and XHTML

Lenny Domnitser ldrhcp at gmail.com
Tue Mar 21 16:37:01 EST 2006


On 3/21/06, Alf Eaton <lists at hubmed.org> wrote:
> Am I write in thinking that Greasemonkey 0.6.4 doesn't work on XHTML pages served as application/xhtml+xml?

GM_log('GM works on ' + document.contentType); // works with HTML and XHTML

Some of the HTML DOM does not work with XHTML, due to the nature of
XML. For example, your script may use an innerHTML property. Do you
see any errors in the Javascript console?


More information about the Greasemonkey mailing list