Jump to content

Golanlan

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by Golanlan

  1. Let's say I've got a link with this source:

    <a href="http://register.meow.com">Register</a>

    how can I remove this link from the page? It's should be with HTML DOM, to all of you who doesn't know greaseMonkey.

  2. Thanks for that!I meant that when entering the page for the first time, the text is shown.. I want it to be hidden, and when I press "Show", the texts is shown.. Like on a spoilers, that you don't want them to be shown right when you go on to the site.

  3. Ha!

    <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1255"><title>New Page 1</title></head><body><form><input type="text" name="val" /><input type="button" value="Go Go Go!" onclick="location.href=val.value + '.html'" /></form></body></html>

  4. In the mean while, there's a script I wrote of a password log-in that could help you

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>box?</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><script language="JavaScript" type="text/JavaScript">var val;val=prompt("Please write something to search for")if (val!==""){window.location = (val + ".html")}elsealert("You havn\'t wrote anything!");</script></body></html>

    the problem is that it isn't inline search. Yet.

  5. <html><body><script type="text/javascript">var d = new Date()var hours = d.getHours()var minutes = d.getMinutes()if (minutes<=9){document.write("<form>")document.write("<input type='text' name='time' value=hours + ':0' + minutes>")}else{document.write("<form>")document.write("<input type='text' name='time' value=(hours + ':' + minutes)>")}</script></form></body></html>

    It isn't working so well, shows "Hours" in the text-field. :)

  6. Hey, that's not a bad idea! :) I never thought o that. But the problem is most sites are accessible through anonymous FTP if run on ameteur servers, so it would be pretty easy to try out most of the files. Server side code is better :blink: But still, great idea. :blink:Choco
    Strange, I've never saw a good free hosting server with an anonymous FTP.. If someone wants a safe method in a non-anonymus FTP server, this is the safest method of the easy ones :)anyways, Congrats on the 1,000 post :)
  7. I've wrote a protected method for entering a page with a password :)COME ON IN!required:some_text.html with the following source:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>box?</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><script language="JavaScript" type="text/JavaScript">var password;password=prompt("Please enter your password")if (password!==""){window.location = (password + ".html")}elsealert("No way dude! :P");</script></body></html>

    and some_password.html in the same directory.On my page, the password is it_r0cks_my_s0cks

  8. <html><head><script type="text/javascript">function disp_prompt(){var name=prompt("Please enter your name","")  if (name=="God" || name=="god" || name=="GOD")  {   document.write("OMFG IS THAT YOU?!?")  }  else if (name!=="" && name!==" ")  {   document.write("Hello " + name + "! How are you today?")  }  else  {   document.write("wtf are you doing? Go backwords and FIX IT!")  }}</script></head><body><form><input type="button" onclick="disp_prompt()" value="Display a prompt box"></form></body></html>

    Fixed, thanks :)By the way, would you know by any chance how can I keep with the banning of the spaces like here-

      else if (name!=="" && name!==" ")  {   document.write("Hello " + name + "! How are you today?")  }

    automaticly that will forbit all numbers of spaces inserted?

  9. I was just messing around, and I can't find what's the reason for the error here.

    <html><head><script type="text/javascript">function disp_prompt(){ var name=prompt("Please enter your name","")  if (name!=null && name!="" && name!="God" && name!="god")  {   document.write("Hello " + name + "! How are you today?")  }  else if (name="God" && name="god")  {   document.write("OMFG IS THAT YOU?!?")  {  else  {   document.write("wtf are you doing?")  }}</script></head><body><form><input type="button" onclick="disp_prompt()" value="Display a prompt box"></form></body></html>

×
×
  • Create New...