Help with Javascript Re-Direction

Learn the basics of how to exploit JavaScript.

Help with Javascript Re-Direction

Post by dirtbikedude on Tue Oct 19, 2010 2:50 am
([msg=47783]see Help with Javascript Re-Direction[/msg])

Ok here's the problem that I'm having I have a website that our organization uses and they want us to cast our votes on a poll. What I'd like to do is view the results at the same time of voting. Now they use a javascript button to submit your info so if you try to open a new tab in firefox you just get a "javascript void" blank window. So I figured that if I opened the webpage in two firefox windows that I could press submit on one window so I could view the results and then the other window I could vote. When I try that I get a website error message that says "only one instance is aloud to be running of this website." is there a way to either A) have the javascript execute in a new window/tab so I'm still able to see both the results and voting or B) Open the website in two instances such as two different windows and spoof it to look like one?

Thanks in advance!
dirtbikedude
New User
New User
 
Posts: 1
Joined: Tue Oct 19, 2010 2:40 am
Blog: View Blog (0)


Re: Help with Javascript Re-Direction

Post by Goatboy on Tue Oct 19, 2010 3:33 am
([msg=47784]see Re: Help with Javascript Re-Direction[/msg])

You could try using firebug to edit out the JavaScript and just post the vote normally.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2823
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Help with Javascript Re-Direction

Post by sanddbox on Tue Oct 19, 2010 9:02 am
([msg=47792]see Re: Help with Javascript Re-Direction[/msg])

Much simpler is to disable javascript if it's an actual HTML form. Many websites have HTML forms and use JavaScript validation to ensure that the right data is entered, but simply disabling JS will circumvent these measures.
Image

HTS User Composition:
95% Male
4.98% Female
.01% Monica
.01% Goat
User avatar
sanddbox
Expert
Expert
 
Posts: 2331
Joined: Sat Jul 04, 2009 5:20 pm
Blog: View Blog (0)


Re: Help with Javascript Re-Direction

Post by tremor77 on Mon Oct 25, 2010 3:59 pm
([msg=48095]see Re: Help with Javascript Re-Direction[/msg])

or.. view the page source and copy it to your desktop... open it up and with a little html/javascript tinkering, modify it to suit the results you wish.
Image
User avatar
tremor77
Contributor
Contributor
 
Posts: 911
Joined: Wed Mar 31, 2010 12:00 pm
Location: New York
Blog: View Blog (0)



Return to Javascript

Who is online

Users browsing this forum: No registered users and 0 guests