Jump to content

Golanlan

Members
  • Posts

    29
  • Joined

  • Last visited

Golanlan's Achievements

Newbie

Newbie (1/7)

1

Reputation

  1. Let's say I've got: hello<br>dog<br>cat<br> How do I detect the start of each line so I could make it automatly: {1}hello<br>{1}dog<br>{1}cat<br> ?
  2. I wish to remove the "Watch this deviant!" from http://golanlan.deviantart.com/ , using GreaseMonkey extension for firefox, that uses DOM for it's actions.aspnetguy, the script isn't working.. I guess you should had look at the source before writing this. sorry.
  3. let's say I've got <a href="http://blabla.meow.com">Meow</a><br><a href="http://rar.whoof.com">Whoof</a><br><a href="http://baa.cook.com">Cook</a> how can I put a username:password in the start of each link?
  4. 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.
  5. I sometime see codes that looks like that: <br /> why isn't it <br> and that's it? S:
  6. Can be found easly on w3schools tutorials.. <script type="text/javascript">var str="meow *code*"document.write(str.replace(/*code*/,"foo"))</script> replace *code* with the code for "right parenthesis" on HTML ASCII Reference
  7. No problem mate, I'm glad I could help.
  8. 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.
  9. 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>
  10. 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.
  11. You guys know how to make the hiding function a default? Or how to toggle the value of the button to "Show" when hiding?
  12. <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.
×
×
  • Create New...