How do I CHECK URLS with ajax?

Get help using Construct 2

Post » Wed Feb 22, 2017 4:36 pm

i would like to check a list of urls i have on a server in a txt file
it is possible to check those urls BEFORE PAGE LOADING with iframe html, and then if the user type one of those he get a redirection?
i was thinking to ajax...
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Wed Feb 22, 2017 6:15 pm

Why iframe?
Do you need to check those urls before game loading? then ajax with jQuery.
Or AJAX plugin if you need to do that inside the game.

"User type one of those?" Type, you mean type of "typing on the keyboard", because you wrote "user type" hahaha

Don't understand what you want.
Lead developer at Octeto Studios
Visit our portfolio at: http://www.octetostudios.com/ :)
Facebook || Twitter || Youtube
B
37
S
7
G
5
Posts: 217
Reputation: 5,613

Post » Wed Feb 22, 2017 6:49 pm

typing on keyboard :D i mean when a user type an url who is already inside the txt file on server
i use iframe because i show the web inside
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests