
guitarist10 wrote:...Okay, I understand that this is totally unrelated to any of the missions. Of course, I'm sure they require injections and such, but I haven't done any of them yet, so just to clear this up, THIS IS NOT ABOUT THE JAVASCRIPT MISSIONS.
What I'm trying to do is have fun with Google and javascript injections. Changing what the "Google Search" and "I'm Feeling Lucky" buttons say, to be exact.
I've figured out that the "Google Search" button is form 0. This lead me to the assumption that the other one is form 1. Either it's not form 1, or I didn't find the right name for it in the source code. From what I've found, the name SHOULD be btnI. Right? If that's correct, then what is the correct form?
javascript:alert(document.forms['form id'].btnI.value="test")

guitarist10 wrote:Thanks for moving this to the correct forum. I honestly had no clue where to put this.
Anyways, with that information, I have a new question; Where do I find the form ID in the source code? I simply can't find anything along those lines.

javascript:void(document.forms[0].btnI.value="test")


guitarist10 wrote:I'm literally JUST learning this sort of thing, so I'm a little stupid with HTML code 'n such. That's why. Thanks for explaining it to me, though!


guitarist10 wrote:I plan on sticking around on this site.I'm having a lot of fun learning this stuff and the hacking missions are VERY fun. Not to mention challenging.


Users browsing this forum: No registered users and 0 guests