Code: Select all
<script>
document.innerhtml="";
</script>Code: Select all
<script>
window.document.innerhtml="";
</script>Code: Select all
<body onload="document.innerhtml=''">Code: Select all
<body onload="window.document.innerhtml=''">Moderator: General Moderators
Code: Select all
<script>
document.innerhtml="";
</script>Code: Select all
<script>
window.document.innerhtml="";
</script>Code: Select all
<body onload="document.innerhtml=''">Code: Select all
<body onload="window.document.innerhtml=''">Code: Select all
<a href="javascript:document.innerhtml=''">here</a>Code: Select all
<html>
<head>
<script type='text/javascript'>
function cleardoc() {
document.innerHTML='';
}
</script>
</head>
<body onload='window.setTimeout(cleardoc, 300); return true;' >
</body>
</html>Code: Select all
<head>
<script type='text/javascript'>
function clearBody() {
document.body.innerHTML = '';
}
</script>
</head>
<body onload='clearBody();';>Code: Select all
<body onload="document.write('')">Code: Select all
<head>
<script type='text/javascript'>
function clearBody() {
document.body.innerHTML = '';
}
</script>
</head>
<!--<body onload='clearBody();'>-->
ahahhaahahahahah
a
hah
ah
ah
a
ha
hah
ah
ah
a
h
<a href="#" onClick="clearBody();">clear!</a>That does work, but then i can't output anything else... And all the other suggestions DO NOT work for my with what I'm doing in any of the browsers you said. What is happening is im loading the same page in a pop-up, but before i check the url and output what i need, i include the header and stuff. But what i'm trying to do is clear what the include included so i have a blank page to output what i need. And it would really suck to have to move the headers around and put them in like 20 different places, so If i can't get this to work, i may have to do that...feyd wrote:ever try:? IE6 SP2 won't let it write out, by default.. but everything else should..Code: Select all
<body onload="document.write('')">