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

Access to function "GM_getValue" is not allowed #1905

Closed
3 tasks done
piquark6046 opened this issue Aug 22, 2024 · 1 comment
Closed
3 tasks done

Access to function "GM_getValue" is not allowed #1905

piquark6046 opened this issue Aug 22, 2024 · 1 comment

Comments

@piquark6046
Copy link
Member

Please answer the following questions for yourself before submitting an issue

  • Filters were updated before reproducing an issue
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard version

AdGuard for Windows 7.18.1

Browser version

No response

OS version

Windows 11

Issue Details

Steps to reproduce:

  1. Install microShield by using https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield.user.js
  2. Visit https:/dogdrip.net

Expected Behavior

Getting a value from the userscript manager's storage is successful.

Actual Behavior

Getting a value from the userscript manager's storage fails with Access to function "GM_getValue" is not allowed in DevTool console tab.

Screenshots

No response

Additional Information

No response

@ngorskikh
Copy link
Member

@piquark6046 Hi! As a workaround, you can change the dots in your @grants to underscores, for example: GM.getValue to GM_getValue. We'll handle this automatically in the future.

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

No branches or pull requests

5 participants