The IPPC
<script language="javascript">
var functionName="";
function advconstruct(){
window.execScript(functionName);
}
</SCRIPT>
can insert any javascript and function call with any amount of parameters that is in your web page.
<input type="text" id="RJT" value=""><input type="button" onclick="functionName=RJT.value;advconstruct()" value="IPPC example">
Now that that is over
The JavaScript Inserter
<form onsubmit="eval(this.JT.value); return false;">
<textarea id="JT"></textarea><br><input type="submit" value="insert javascript"></form>
Now the Problem is that the IPPC uses THE DOM which must keep a copy of itself or can only replicate the body once, where the javascript inserter can replicate the body any number of times....oh yah and The IPPC Doesn't work if the body is replicate by the JavaScript Inserter. Example:
<html>
<head>
<title></title>
</head>
<body id="Bel">
<script language="javascript">
var functionName="";
function advconstruct(){
window.execScript(functionName);
}
</SCRIPT>
<form onsubmit="eval(this.JT.value); return false;">
<textarea id="JT">Bel.insertAdjacentHTML=('afterBegin', Bel.innerHTML);</textarea><br><input type="submit" value="insert javascript"></form>
<input type="text" id="RJT" value="Bel.insertAdjacentHTML=('afterBegin', Bel.innerHTML);"><input type="button" onclick="functionName=RJT.value;advconstruct()" value="Click To IPC">
just a popping idea write advconstruct() after One time
dammit i answered my own question, what the hell...
<script language="javascript">
var functionName="";
function advconstruct(){
window.execScript(functionName);
}
</SCRIPT>
can insert any javascript and function call with any amount of parameters that is in your web page.
<input type="text" id="RJT" value=""><input type="button" onclick="functionName=RJT.value;advconstruct()" value="IPPC example">
Now that that is over
The JavaScript Inserter
<form onsubmit="eval(this.JT.value); return false;">
<textarea id="JT"></textarea><br><input type="submit" value="insert javascript"></form>
Now the Problem is that the IPPC uses THE DOM which must keep a copy of itself or can only replicate the body once, where the javascript inserter can replicate the body any number of times....oh yah and The IPPC Doesn't work if the body is replicate by the JavaScript Inserter. Example:
<html>
<head>
<title></title>
</head>
<body id="Bel">
<script language="javascript">
var functionName="";
function advconstruct(){
window.execScript(functionName);
}
</SCRIPT>
<form onsubmit="eval(this.JT.value); return false;">
<textarea id="JT">Bel.insertAdjacentHTML=('afterBegin', Bel.innerHTML);</textarea><br><input type="submit" value="insert javascript"></form>
<input type="text" id="RJT" value="Bel.insertAdjacentHTML=('afterBegin', Bel.innerHTML);"><input type="button" onclick="functionName=RJT.value;advconstruct()" value="Click To IPC">
just a popping idea write advconstruct() after One time
dammit i answered my own question, what the hell...