Skip to content

Add GM.xmlhttpRequest as alias of GM_xmlhttpRequest #1785

@piquark6046

Description

@piquark6046

Summary

GM_xmlhttpRequest and GM.xmlhttpRequest API cannot be used in an userscript when @grant GM.xmlhttpRequest is set instead of @grant GM_xmlhttpRequest.

The userscript works on the following environments:

  • a Chromium browser (Brave 1.56.11) + AdGuard Browser Extension 4.1.57 + Violentmonkey 2.15.0
  • Firefox browser + AdGuard Browser Extension 4.1.57 + Violentmonkey 2.15.0

Test page

Reference

https://github.com/List-KR/linkproduct-privacy (Tested version: 1.0.1)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions