Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mozMatchesSelector issue using GM + Firefox 4 #1300
There is some weirdness using mozMatchesSelector in a GM-script in Firefox 4:
I created a userscript that contains more test cases: http://userscripts.org/scripts/review/98151
I know that is likely to a change in Fx 4 but I don't know enough about GMs internal architecture( XPCNativeWrapper) to dig deeper. This code might look like an edge-case but it is the pattern used by recent jQuery to match elements against selectors. So this will prevent people from being able to use jQuery in user scripts.
Maybe one of you has an idea what is wrong here.