I am creating a browser extension that has to store data. I am going to have the client side language read from the page which is a game, and save data if mistakes were made , or the data is not already accessible. basically i'm trying to make a bot for a choice decision game when the posibilities and the questions are built in.
since the possibilities are final I would really like it if in some way i would be able to actually make the bot play for an hour and then have a file containing the entire game's deicisions.
well , I can't do that with javascript since it disables storing data, am I able to do it with another language which has access to the html DOM? I have no problem to even use some language that wasn't supposed to do that and then write a small library for DOM accessibility, as long as it allows DOM access, I have no idea which though.
edit: I haven't noticed I actually got answers to this. I realize the question is very vague(it's a very old one), but basically, I just built a simple html parser via python. I asked a friend of mine how I could build a bot, he said he simply did it by creating a browser extension, and I decided I'll give it a shot. anyways, yes, I should've resourced more into the browser's api and check for a way to store client's data.