Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 15
Guests Online: 15
Members Online: 0

Registered Members: 82889
Newest Member: Geriztul
Latest Articles
View Thread

HellBound Hackers | Computer General | Hacking in general

Author

Internet Explorer address bar / Javascript question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 27-09-09 07:54
I am trying to fill out a form automatically using javascript, however there are too many characters to fit in one time on the address bar.

So my question is this..

Is there a way to insert for example

Code
javascript:document.getElementById('id').value='somevalue';javascript...




without doing
Code
javascript:document.forms[0].submit()



at the end

or is there a way to increase the number of characters I can enter into address bar.

I only want to submit my form 1 time with all the data present.

Edit: Im using AutoHotKey and the COM library to run IE inside of the gui. If I copy my long list of js into the clipboard I can paste it into an IE window thats open just to test it and it does work from there so perhaps the character length is limited outside of there?




Edited by on 27-09-09 08:22
Author

RE: Internet Explorer address bar / Javascript question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 27-09-09 09:35
Well after further debugging its not a fault of IE at all. Just that autohotkey as a limit to the size of strings.. when too long my strlen = 0.

However I did get around it and was able to break up my js into multiple submits without the page refreshing, cheers.

As an added tidbit. Looking around somewhere I saw IE address bar max length was 2000ish and FF was 65000ish (not sure how acurate that is but hey). Both were way longer then my string so decided it wasnt that and investigated til I realized it was AHK's String size.




Edited by on 27-09-09 09:37