mercredi 3 décembre 2014

Access global var from inside chrome dev tool extension


Vote count:

0




I'm trying to write a dev tool extension that access a global var from an application.


From my application, running in the browser I am creating a global var called window.ctx.


The extension will then try to access the global var. My extension is a chrome.devtools.panels extension. I am trying to use the data in the global window.ctx variable to create a graph in the dev tool panel.


Unfortunately I have no idea how to access the global var which contains the data. I am pretty sure this is possible as I have seen other extensions do something similar like the angularJS batarang extension.



asked 1 min ago







Access global var from inside chrome dev tool extension

Aucun commentaire:

Enregistrer un commentaire