Answer the question
In order to leave comments, you need to log in
How to send js code to the web admin panel with a script?
In general, the essence of the problem is that there is a yota many in the country and shows through it CCTV cameras.
The router periodically crashes and it can only be treated by rebooting, from the admin panel you can write something like "reboot();" in the javascript console. and everything starts up again, now the question is, how and most importantly on what to write a script, so that it would go to the address of the admin panel and execute the reboot sent in the console as soon as the Internet disappears (the script is executed every 5 minutes, for example, and checks the ping)? The problem is I don't even know how to google it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question