Skip to content

Conversation

@netux
Copy link
Contributor

@netux netux commented Aug 8, 2025

  • Rename collectGmApis() to collectGrants()
  • Use a regular expression instead of a hard-coded list of GM APIs for future-proofing
  • Add a bunch of tests for the new functionality

Fixes #1 and #2

netux added 2 commits August 8, 2025 14:38
Also, fix indentation in test file to align with the rest of the repository.
@gera2ld gera2ld merged commit 2b92c90 into violentmonkey:main Aug 9, 2025
@gera2ld
Copy link
Member

gera2ld commented Aug 9, 2025

Thank you!

@netux netux deleted the feature/support-autogrant-of-gm-dot-apis-and-unsafe-window branch August 9, 2025 20:03
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

Successfully merging this pull request may close these issues.

Add GM. methods to gmAPIs

3 participants