<script>
var myNode = document.getElementById("msg_content");
while (myNode.firstChild) {
myNode.removeChild(myNode.firstChild);
}
</script>
I remove all the spam. Yay javascript!
<script>
var node = $("#msg_content");
while (node.hasChildNodes()) {
node.removeChild(node.lastChild);
}
</script>
I remove all the other elements for you. Clean slate!
<head>
<script language="JavaScript" type="text/javascript">
<!--
function breakout_of_frame()
{
// see https://www.thesitewizard.com/archive/framebreak.shtml
// for an explanation of this script and how to use it on your
// own website
if (top.location != location) {
top.location.href = document.location.href ;
}
}
-->
</script>
</head>
<script>
document.getElementById("send_graffiti").addEventListener("click",function(){
alert("Kill yourself for trying to participate on this shit site");
});
</script>
<div id="time"></div>
<script>
function checkTime(i) {
if (i < 10) {
i = "0" + i;
}
return i;
}
function startTime() {
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
// add a zero in front of numbers<10
m = checkTime(m);
s = checkTime(s);
document.getElementById('time').innerHTML = h + ":" + m + ":" + s;
t = setTimeout(function() {
startTime()
}, 500);
}
startTime();
</script>