Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Javascript injections help

Im making javascript injection of hackthissite and through tutorials I got

javascript:void(document.forms[0].to.value="[email protected]")

But Im confused on what the [0] represent.

ALSO,I have a quesion on how to code the ".to.value" part. Do I just add a period after the "area" I'm going to void??

if this form makes no sense sorry.
Don't post multiple threads about this. I know you've already posted one in that section, just update that one instead.
Can you hear my weed?



cuz it's loud
0 is the first index of <form> elements.
Code
<form>
<input>
</form>
document.forms[0]
Code
<form>
<input>
</form>
document.forms[1]
sorry for reposting, didnt realize i could jsut update mb


and thx for the help Charger


Possibly Related Threads...
Thread / Author Replies Views Last Post
by SIM-5111991Dec 23, 2021 05:54 PM 2 158 Dec 23, 2021 05:54 PM
Last Post: mpkwgwbgates
by LightOrithmDec 4, 2020 04:51 AM 1 98 Dec 4, 2020 04:51 AM
Last Post: cakenpiez
by AriesfangzDec 2, 2017 02:12 PM 7 210 Dec 2, 2017 02:12 PM
Last Post: CyberStrike