test javascript

Forum post

Author
Message

jminglang
Posts: 1
Posted on: 2013-12-11 06:02:03.000
<script>location.href=" http://www.google.com";</script>

Rocket Man
Posts: 383
Posted on: 2013-12-11 09:47:43.000
Hi jminglang!

By default, Rockets intercepts HTML code in forums (changes < to &lt; and > to &gt;) so it won't execute Javascript. This is for security reasons, to avoid cross-site scripting issues.

Of course you can turn this off in your code, but it is not recommended!


Views: 2405