Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Unfortunately, it looks like Chromium will return an http code for each thing that is loaded, so while it may return a 200 code for a successful load, it may also return multiple different values (including 0) for the various things it loads.  Each time you run the chromium_get_last_http_code() you'll only get the last code returned, which may be the 200 for the page, or it may be 0 for one of the things it loads along with the page.  Unfortunately there doesn't see to be a good way to make absolutely sure everything is correctly loaded using this method.

I see that I misunderstood the meaning of this function, I do not need the status of the request at the moment. I need to get the current code of the current page in a variable in order to find the necessary information in it. Besides, it would be very cool to get not the original code (before the java script is executed and others), namely the current one, which is generated by all the scripts on the page. Is this possible?

I have also been looking into this too.  I agree, it would be very useful.  I will be testing the functions today and aim to release a new version tomorrow.

I've released a new version that allows you to get data back from javascript into GM.  Take a look at the demo project for implementation details.

You know, you are the best :). Big thanks!

P.S. Today I will test this. I hope for an early release of a stable version.