Replies: 1 comment 2 replies
-
It is possible, but please note that using A safer way is to use a custom event with a random name and use closed-shadow-root. We may integrate this in the future, but for now, you need to implement it yourself. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think there are some user scripts that require both the page scope and the
GM.*
APIs. For example this user script written by me. The alternative way is to inject<script />
tag and use thepostMessage()
API, which is painful to maintain for a user script.Beta Was this translation helpful? Give feedback.
All reactions