S
S
Seganapa2016-10-23 15:01:33
JavaScript
Seganapa, 2016-10-23 15:01:33

Is it possible to change backbone data from another script - JavaScript?

There is a site on which the Backbone application is spinning.
One value in the DOM changes every second. There is no access to the Backbone application.
Is it possible somehow to access this value through your own (separate) script? Just for the correct display in the current window ...
PS I do not need to change the value on the server. After reloading the page, it changes to the desired one.
In general, is there any way to access backbone values ​​from outside?
I would be grateful for any help, since I have never dealt with Backbone ... I'm a little familiar with Angular ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-10-23
@alexey-m-ukolov

Most likely not, since the value is buried in closures (this is an assumption). You can only answer for sure by reading the code of this application.
The simplest solution would be to periodically read the value from the DOM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question