add_js("alert(\"<ul>\");");
add_js("alert(\"</ul>\");");
<script>
...
});alert("</ul>
<div id="junk">
<strong>Templates</strong> (5):
...
</script>
print "<script>alert(\"</ul>\");</script>";
add_js("alert(\"<\/ul>\");");
<script> add_js('hello! </ul>');<script> add_js('hello! </ul>');...
add_js('$( document ).ready(function() {$( ".now" ).before( "<ul><li><a href=\"index.php?action=invite\">'.$ps_string.'</a></li></ul>" );});');
<script>
we_notifs = 0;
eves = {
1: ["change", function (e) { this.form.submit(); }],
2: ["click", function (e) { return reqWin(this); }]
};
we_pms = 0;
we_script = "http://localhost:8888/wedge_old/index.php";
we_assets = "http://localhost:8888/wedge_old/assets";
we_sessid = "5cae2da9ffc31150b2fc24628844183b";
we_sessvar = "f7abe7450";
we_groups = ["1|-1|Administrator", "2|-1|Global Moderator", "3|-1|Moderator", "9|-1|Partner", "4|0|Newbie", "5|50|Jr. Member", "6|100|Full Member", "7|250|Sr. Member", "8|500|Hero Member"];
we_lists = [];
$(".thome").mime({
16: ["lk", "cx/16", "re/0", "mo/0", "de"],
[...]
8: ["lk", "cx/8", "re/0", "mo/0", "de"],
7: ["cx/6", "re/6", "mo/6", "de", "bl"]
}, {
lk: ["Like", "Like this post", "", "like_button", "return oThought.like(%1%)"],
[...]
bl: ["Posterity?", "Show this thought under my name in topics, for posterity.", "", "like_button", "return oThought.personal(%1%)"]
});$( document ).ready(function() {$( ".now" ).before( "<ul><li><a href=\"index.php?action=invite\">'.$ps_string.'</a></li></ul>
$(function() { $('.now').before('<ul><li><a href="index.php?action=invite">' + ps_string + '</a></li></ul>\
the rest of your string'); });add_js('$(function() { $(\'.now\').before(\'<ul><li><a href="index.php?action=invite">' . $ps_string . '</a></li></ul>\
the rest of your string\'); });');add_js('$(function() { $(\'.now\').before(\'<ul><li><a href="index.php?action=invite">' . $ps_string . '</a></li></ul>\'); });');
SyntaxError: unterminated string literal index.php:555
ReferenceError: eves is not defined script-a-english-641436.js:19
add_js('$(function() { $(\'.now\').before(\'<ul><li><a href="index.php?action=invite">' . $ps_string . '</a></li><\/ul>\'); });');