[Greasemonkey] application/xhtml+xml sites

Jeremy Dunck jdunck at gmail.com
Fri Apr 15 11:42:24 EDT 2005


On 4/15/05, Mark Pilgrim <pilgrim at gmail.com> wrote:
> Greasemonkey does not appear to work on pages served as
> application/xhtml+xml, such as http://www.intertwingly.net/blog/
> 
> Test script:
> 
> // ==UserScript==
> // @include       *
> // ==/UserScript==
> 
> (function() {
>    alert('Hello world!');
> })();

0.3?

I'm asking because we're injecting SCRIPT elements instead of script
elements, and xml cares about case, so I think the browser doesn't
execute the contents of the SCRIPT element.  This was fixed in a patch
before, but we apparently regressed.  :)


More information about the Greasemonkey mailing list