0

I'm currently working on a firefox extension for a specific trusted website. I would like access to a variable "ownUsername" that I can access from the console. However, I am unable to access this variable from my extension code, and cannot find it inside the window object. How would I go about accomplishing this?

I've tried digging around in dev tools and think I found the function where the variable is defined, but I don't understand how I can call it from the console when it seems like a local variable. Unfortunately I am unable to share any of the code.

Any help would be appreciated.

0 Answers0