Suppose you have a Chrome account with this code:
var userscriptVar = "I'm a global variable, userscript context.";
window.var2 = "I'm a window.scope variable, userscript context.";
console.log ("Hello from the userscript.");
To access these usercript variables:
Define the user ID. You can see it on the extensions page ( chrome://extensions/):

Go to the script context by clicking the context menu at the bottom of the console:

Please note that the identifier ( pfnbaeafniclcjhfkndoploalomdmgkc) matches the identifier specified on the extensions page.
(var2), usercript (userscriptVar), script -nstance .

usercript, script - , script . , , . .
( )

, , , .
( )

:
(, )
