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

Some question GM.getResourceURL and GM.getResourceUrl #2249

Closed
WhiteSevs opened this issue Nov 18, 2024 · 2 comments
Closed

Some question GM.getResourceURL and GM.getResourceUrl #2249

WhiteSevs opened this issue Nov 18, 2024 · 2 comments

Comments

@WhiteSevs
Copy link

(Please fill out the issue template with your details)

Expected Behavior

GM.getResourceURL

Actual Behavior

GM.getResourceUrl

Specifications

  • Chromium: (i.e. 131.0.2903.51)
  • TM: (i.e. 5.3.6216)
  • OS: (i.e. Window 11)

Script

文档中该Api是以URL结尾,而实际的Api是Url,这或许是文档里写错了?

https://www.tampermonkey.net/documentation.php?ext=gcal&version=5.3.6216#api:GM_getResourceURL

PixPin_2024-11-18_20-06-40

@7nik
Copy link

7nik commented Nov 18, 2024

It is GM_getResourceURL and GM.getResourceUrl, plus GM_xmlhttpRequest and GM.xmlHttpRequest. But the docs should warn about the names difference.

@derjanb
Copy link
Member

derjanb commented Nov 18, 2024

But the docs should warn about the names difference.

Fixed. Thanks @7nik

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

3 participants