Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

<script> question


ghost's Avatar
0 0

Hello, I would like to know what exactly <script> code </script> is, I have found a site with an annoying timer that I want to set to 0 so I wonder if there is any way to change the variables in <script>. I would also want to learn more about this but as I don't know which language it is then it's a bit hard so can someone please tell me which language it is?


ghost's Avatar
0 0

That tag is where JavaScript goes, well… really any code but 99% of the time it's JavaScript. To find out about JavaScript read: Wikipedias entry My wiki's entry - http://wiki.whiteacid.org/JavaScript (this forum doesn't like the word javascript in a link)

The JavaScript challenges offered on HBH should get you started in understanding how to alter the JS on a page.

Once you're fairly adept at JS I suggest you get the firefox extensions firebug and quick java. Though sometimes the easier way to edit content is to use a proxy server on your localhost which edits the code before it reaches your browser. The Proxomitron (http://www.pluto.dti.ne.jp/~tengu/proxomitron/download.html - forum won't accept that in a bb code url tag) can do just that, though it's not the most user friendly application out there.


ghost's Avatar
0 0

This reminds me a lot of javascript 9 or something, the one with the ticker where you have to get it to zero to get the hyperlink for your answer, is that what you are trying to do and sya it was for a sitte, or are you just saying that? And may I see the site?


ghost's Avatar
0 0

I know what javascript is, I have done all the challanges but 3, I haven't had time for them yet. I just thought that it was something else because they had wroten it in a really strange way. Thanks for the help anyway =)


ghost's Avatar
0 0

www.rapidshare.com You get a 45 secounds timer when you want to download something and I get annoyed on waiting even if it's just a short time.


ghost's Avatar
0 0

Rapidshare keeps the time in a variable called 'c'. Insert this into the address bar, hit enter and there's no need to wait. javascript:void(c=1)


ghost's Avatar
0 0

Thanks but I have done that already, I just didn't know that <script> was the same as <script language="javascript">


ghost's Avatar
0 0

With the new XHTML rules, the language attribute for the script tag no longer exists and shouldn't be used (though it usually is). To be XHTML valid a page should use <script type="text/javascript"> … </script>

I know that doesn't have much to do with anything, just letting you know.


ghost's Avatar
0 0

hey whiteacid are you the guy who made the SQL video on the college?


ghost's Avatar
0 0

If you're referring to this, then no. In that post I clearly state who made the video, the team running appiant.net (Joel Helgeson to be specific). Still nice to be recognised :D


ghost's Avatar
0 0

ohh okay, just wondering. if anyone hasn't checked out that video. do so. it is one of the best i've seen on that topic.