I'll try to explain this to the best of my ability to give the best possible opportunity for an accurate answer.
I'm new to JavaScript however I'm reasonably proficient in C#.
Due to my C# proficiency i've been assigned a task to create a chrome extension that displays specific information in a popout. I've got no issues with creating the extension and the popout.
To be specific, our website I am creating this for, we use the console window in chrome to gather specific pieces of information on users after they have logged in for debug purposes, if they contact us with an issue. An example of this is as follows.
Opening chrome console, we type "Product" which automatically provides a high level parent list of variables. We can then type "Product.user" which specifically gives us their user tree information, we can also type 'Product.user.email' for example which gives us their email login variable specifically under that user tree.
What I cant figure out, is how I access this information from my chrome extension and assign it to my own variables, OR access those specifically if I dont have to so I can produce them to text within my popout window.
I really hope this is enough information, happy to provide more. The overall end goal here is so we don't have to talk end users through typing in console commands, rather simply install an extension.