first commit

This commit is contained in:
nxxy335top
2026-05-18 17:29:18 +08:00
parent e85fbd62f4
commit a0c64736eb
119 changed files with 13527 additions and 1228 deletions
+15
View File
@@ -0,0 +1,15 @@
(function(){
var selects = document.querySelectorAll('select');
var result = [];
selects.forEach(function(s, i) {
result.push({index: i, value: s.value, name: s.name, options: Array.from(s.options).map(function(o){return o.value + ':' + o.text})});
});
var inputs = document.querySelectorAll('input');
var inputResult = [];
inputs.forEach(function(inp, i) {
if (inp.type !== 'hidden') {
inputResult.push({index: i, type: inp.type, name: inp.name, value: inp.value});
}
});
return JSON.stringify({selects: result, inputs: inputResult.slice(0, 10)});
})()