jlp09550
06-21-2007, 02:00 PM
Hello.
I was looking at a website's javascript code, which is nearly hidden, to find what operated something on the site. I came across the "Submit Once (http://www.dynamicdrive.com/dynamicindex11/submitonce.htm)" script here on DD. Here's the code exactly on the site, without any copyright and direct from the source:
function submitonce(theform){
if (document.all||document.getElementById){
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true;
}
}
}
I'm not sure what to do to report such a thing, but I saw other topics here about stolen content, so I just posted here to see.
Thanks,
Jared
P.S. I will not list the site until I'm 100% sure of what to do.
I was looking at a website's javascript code, which is nearly hidden, to find what operated something on the site. I came across the "Submit Once (http://www.dynamicdrive.com/dynamicindex11/submitonce.htm)" script here on DD. Here's the code exactly on the site, without any copyright and direct from the source:
function submitonce(theform){
if (document.all||document.getElementById){
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true;
}
}
}
I'm not sure what to do to report such a thing, but I saw other topics here about stolen content, so I just posted here to see.
Thanks,
Jared
P.S. I will not list the site until I'm 100% sure of what to do.