By default, the required piece is executed in the global environment.
Each loaded user script is configured to work in the sandbox, and if the script contains the required call, it will change the global environment.
Is there any way to set this environment for the same calling script?
source share