Follow us on Twitter!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Monday, April 21, 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: 28
Guests Online: 28
Members Online: 0

Registered Members: 82852
Newest Member: sockpuppets
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Testing for 404 errors with javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 27-08-08 21:30
Ok, so I have never used javascript in my life but I am trying to complete realistic 2 and learning a little javascript sounded more fun than sitting there trying to guess the day and hour. Besides always better to learn something that could be useful down the road than to sit there mindlessly guessing numbers right?

Anyway my script is working fine except it just opens a window for every possible day/hour combination (720 windows I believe) I was just wondering if there was a way to test for the 404 error on the page, I noticed that the 404 error is just text so maybe if I could have it analyze the web page somehow and if the numbers "404" are present then it will close the window?

just an idea there...

Thanks


Author

RE: Testing for 404 errors with javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 27-08-08 22:41
Heh, I'm not one to just copy and paste someones code but I found some nice idea's to get my script working without opening 700+ pages, thank you! Smile