Post: Use Javascript in Forum Link?
07-01-2010, 03:02 AM #1
Saint Jimmy
And don't wear it out.
(adsbygoogle = window.adsbygoogle || []).push({}); Hey everybody, I'm wondering if somebody can help me out here?

I want to make something along the lines of a link that, when clicked, opens a javascript code. For example, the link's location would be:

    javascript:alert("Hi")


But when I make a link with the destination being the above code, the link's location would become:

    https://javascript<b></b>:alert("Hi")


I did not add those bold tags in there. Any help? Thanks!
(adsbygoogle = window.adsbygoogle || []).push({});
07-01-2010, 03:53 AM #2
ρrodigyz
Cool story bro!
Just as why HTML is disabled in forums, Javascript can be used to inject and extract information from the users and the server it self.
07-01-2010, 04:56 AM #3
Saint Jimmy
And don't wear it out.
Originally posted by Prodigyz View Post
Just as why HTML is disabled in forums, Javascript can be used to inject and extract information from the users and the server it self.


But any malicious use of JavaScript can be used the same way by entering something into the URL bar. And you can still have a link set up to a script, but the script needs to be on a different server.

It's the same effect as a link for both, so I don't get why it needs to be disabled.
07-01-2010, 05:42 AM #4
ρrodigyz
Cool story bro!
Originally posted by Tuxedo View Post
But any malicious use of JavaScript can be used the same way by entering something into the URL bar. And you can still have a link set up to a script, but the script needs to be on a different server.

It's the same effect as a link for both, so I don't get why it needs to be disabled.


I see it to be very useful and can make a post more livelier, but there is no guarantee that having those privileges will not be used for the bad.

IMO I really don't care weather it is enabled or disabled.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo