R
R
Ramil2015-07-07 23:12:39
JavaScript
Ramil, 2015-07-07 23:12:39

How to get variables from a site when writing a Chrome extension?

Good afternoon, I am faced with the task of pulling information, or rather variables, from the site using the Chrome extension. (I am writing the extension myself)
They are global on the site, my script cannot accept variables for some reason. Who will tell you how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Kulikov, 2015-07-08
@DarkDefender

Extension scripts run in a separate environment and do not have access to site methods and variables. The only thing they can do is modify the DOM. True, there is one thing, but if a flash application is used on the site, then you can call the methods of this flash drive.
https://developer.chrome.com/extensions/content_sc...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question