I created an account, and got to the page where I need to select an adoptable and there aren't any choices in the pull down. Maybe I need to try a different browser. In any case if its a fixed set of images that its pulling from, and they have some identifying feature (such as the same SRC each time its the same image) then you can create an array with keys that map each image src to each correct answer, then looking up the result is simple because you pull from the array at the index of the current image's SRC then you should have the result coded.
For Example var theMap = new Array(); theMap['simple1.jpg'] = 'abcdefgTheAnswer'; theMap['simple2.jpg'] = 'abcdefzTheAnswer'; Then: resultInputBox.value = theMap[theImage.src] Similarly if you had a particular "solution" to a particular question, you could map questions to solutions. theMap['Why did the cow cross the road?'] = 'D'; My guess is that the order of the solution images varies server side, and that while its always the same image, its not always choice D, so you should probably try to map to each image's SRC theMap['Why did the cow cross the road?'] = 'chicken.jpg'; Then if chicken is the forth image in the box of answers, you check the fourth box or some other similar logic depending on how the answer needs to be selected. If its not a simple form input type (radio, checkbox, text) then may need to fire a mouse event to simulate a click on the element. Ideally the setup you create for this will do two things however: 1) automatically record 'unknown' answers to some storage as you click them, to simplify defining everything 2) either manually or automatically you have to somehow read all the correct answers into your script. Paste them in from your data storage or you can read them in much the way that you might save them to a server, with an xmlhttprequest. The simplest way, when you click an answer, it alerts the new definition code and you paste it in to the script yourself, but appending it to a file on a webserver would save a lot of copy and pasting. Its probably also very possible to install WAMP server and save results to a local mysql database. In any case developing something that could do this is not unreasonably difficult but chances are its only going to have real practical value on the site its designed for unless it were tweaked. If its really the same image SRC each time its the same image, and the same question always has the same answer image (ie, there aren't a million different valid chicken.jpgs of different colored chickens that are named a zillion different file names, that are all valid answers, would be a very different problem, and sounds a lot more like a captja). You really need to determine exactly what factors are variable, I don't doubt that there's always some way but it becomes increasingly specialized and less reliable if there is more variability. If its as simple as you think it is I'd develop the script that would remember answers for not too much. On Tue, Oct 13, 2009 at 5:37 AM, Stuer Michael <[email protected]>wrote: > > well its on the website > > www.pokeplushies.com > > but you need to be logged in to acces it. > > the exact page the captcha is on is > > http://www.pokeplushies.com/clickexchange.php > > my guess is that there's about a hundred (maybe less) different images/ > questions. > > i did a few thousand clicks in this game allready so i'm sure it wont > be more than that. > > friendly greets > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
