Basically, I need to access a javascript object attached to a DOM element.
I can write this in the console:
document.querySelector('lorem').myObject
and works
but the same from a chrome extension returns undefined.
Basically, I need to access a javascript object attached to a DOM element.
I can write this in the console:
document.querySelector('lorem').myObject
and works
but the same from a chrome extension returns undefined.