0

Is there any way to do this with Javascript nowadays? I just don't want to check the website for information manually from time to time. When I use an iframe it refuses to connect without an error message.

I assume this is a security feature but I don't really see how just viewing the websites contents like a regular user would do it is an issue. Especially considering that you could probably just write a non-web-application where you have full control which just forges the entire request to look like a regular user visiting.

kot
  • 65
  • 1
  • 6

2 Answers2

0

You can use a Node.js tool to automate end-to-end web testing, like testCafe, or other. I use it in online game, to get daily bonuses.

  • I'll look into it. This would then be like the non-web-application that I was mentioning, right? – kot Oct 30 '20 at 13:13
  • I use it with Jenkins integration, it support and others continuous integration, but sometimes enough windows sheduling to start testcafe runner. – Dmitry Golikov Oct 30 '20 at 13:36
-1

I think it's not possible with JS unless the other webpage has API endpoint to get all data, and I assume it hasn't. You may want to check "web scraping". It can be done by Python, but I think some other languages can do that.

Bulent
  • 3,307
  • 1
  • 14
  • 22