• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

HTTP_GET to get html results from .js file

BMatjasic

Member
Hello everyone,

I've been recently working on a small project which gets your PING by running a javascript in the background. I use the http_get method to retrieve data, but it seems only to return me the raw html and javascript format from the website, assuming that the script doesn't run.

Is there any way to actually make a javascript RUN in the background when making this kind of request?

THANKS!
 
Last edited:

The-any-Key

Member
Pure javascript run locally in the browser. You need it to run on the server side. You can use Nodejs. Node run the javascript on the serer side and deliver the result back to you.
 
Top