Salut, da. Cand am putin timp liber il voi face.
astept,astept...
am un script de rename si nu mai merge.se poate reface ?
javascript: var e = document;
var f = prompt('Introduceti numele...\nvariabile:numele\nindex\t\t= index.nume sau nume.index ;\nconvert\t= 45:32:21 ;\n123|456\t\t= coordinate fake bazate pe\n\t\t coordinatele introduse.\n\nRestul caracterelor/cuvintelor care nu sunt variabile vor fi ignorate si vor face parte din noul nume.', '');
if (f != null && f != "") {
if (window.frames.length > 0) e = window.main.document;
var g = e.getElementsByTagName('input');
h = 0;
function nr(i) {
if (i <= 9) i = '000' + i;
else if (i <= 99) i = '00' + i;
else if (i <= 999) i = '0' + i;
return i
}
function cc(i) {
a = e.getElementById('label_text_' + i);
a = a.innerHTML.match(/\d+\|\d+/g);
a = a[a.length - 1].split('|');
b = Math.floor(a[1] / 100) + '' + Math.floor(a[0] / 100);
c = (Math.floor(a[1] / 10) % 10) + '' + (Math.floor(a[0] / 10) % 10);
d = (a[1] % 10) + '' + (a[0] % 10);
return b + ':' + c + ':' + d
}
function co() {
if (f.match(/\d+\|\d+/g)) a = f.match(/\d+\|\d+/g)[0].split('|');
x = Math.floor(Math.random() * 100);
y = Math.floor(Math.random() * 100);
return '(' + a[0][0] + '' + (x < 9 ? '0' + x : x) + '|' + a[1][0] + '' + (x < 9 ? '0' + x : x) + ') K' + a[1][0] + '' + a[0][0]
}
for (var i = 0; i < g.length; i++) {
if (g
.id.indexOf('edit_input') != -1) {
g.value = f.replace('index', nr(++h)).replace('convert', cc(g.id.match(/\d+/g))).replace(/\d+\|\d+/g, co());
g[i + 1].click()
}
}
}
void 0;