Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Match> pattern in config.xml inhibits all following scripts #1414

Closed
garypdev opened this issue Sep 7, 2011 · 4 comments
Closed

<Match> pattern in config.xml inhibits all following scripts #1414

garypdev opened this issue Sep 7, 2011 · 4 comments
Milestone

Comments

@garypdev
Copy link

garypdev commented Sep 7, 2011

I have a script that was installed under Greasemonkey 0.9.8 that contained an @match pattern. This appears in gm_scripts/config.xml as a < Match > ... < /Match > entry. Following the installation of Greasemonkey 0.9.10 or 0.9.11 any scripts following this are not executed and do not appear in Add-ons Manager window.

I can see that installing scripts under 0.9.10 now doesn't add the < Match > ... < /Match > entries in config.xml which is good. However if you reinstall a script containing the @match entry all scripts following this script are removed from config.xml file and the user has to then reinstall them all.

The problem is easily fixed by removing the < Match > ... < /Match > lines from config.xml but this isn't a very user friendly option. The other option is to downgrade to 0.9.8, remove all scripts containing @match, reinstall 0.9.10 and then reinstall the removed scripts.

@arantius
Copy link
Collaborator

arantius commented Sep 7, 2011

You're running Firefox 3? If so this is #1411

@garypdev
Copy link
Author

garypdev commented Sep 7, 2011

Hi, I'm running Firefox 6.0.2 on Windows 7.

@garypdev garypdev closed this as completed Sep 7, 2011
@garypdev garypdev reopened this Sep 7, 2011
@garypdev
Copy link
Author

garypdev commented Sep 7, 2011

Sorry about the 'Close', I misunderstood what "Comment & Close" would do!

@arantius
Copy link
Collaborator

arantius commented Sep 7, 2011

git bisect implies d70e986 is to blame. Indeed, I used GM_util in it, but didn't import that module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants