Scripturi care nu mai merg - vers 8.10

Nyx.

Deocamdata am descoperit doar 2 scripturi care nu mai merg de la ultimul update :

Sort - pune doar liniutele negre de mai jos

Cod:
javascript:var vScript={URLs:['http://crosstrigger.com/tw/v7/sort_rh.js','http://taktimer.net/scripts/dales/sort_rh.js'],id:'fnOverviewSorter',config:{},action:function(){win[vScript.id](vScript.config)},runOnce:true};vScript.name='Launcher';vScript.author={name:'dalesmckay',contact:'dalesmckay@gmail.com'};vScript.version='1.00';vScript.timeoutMS=3000;vScript.debugEnabled=true;var win=(window.frames.length>0)?window.main:window;win.$(win.document).ready(function(){function fnDebugLog(msg){if(!vScript.debugEnabled){return}win.$('body').append(msg)}var isLoaded=false;var ii=0;function fnEmbedScript(){if(isLoaded){return}if(ii>=vScript.URLs.length){fnDebugLog('<span style="color:red;">(Fail)</span><br/><span style="color:red;"><B>ERROR: </B>No available hosts.<br/><br/>');return}fnDebugLog(((ii>0)?'<span style="color:red;">(Fail)</span><br/>':'')+'<B>Load: </B>'+vScript.URLs[ii]+' ... ');win.$.getScript(vScript.URLs[ii]+'?'+Math.round(Math.random()*1000000),function(){if(isLoaded){return}isLoaded=true;fnDebugLog('<span style="color:green;">(OK)</span><br/>');fnDebugLog('<span style="color:blue;">Executing...</span><br/><br/>');win.setTimeout(function(a,b){vScript.action()},200)});ii++;if(!isLoaded){win.setTimeout(function(a,b){fnEmbedScript()},vScript.timeoutMS)}}if(win[vScript.id]){if(!vScript.runOnce){fnDebugLog('<span style="color:blue;">Executing...</span><br/><br/>');vScript.action()}}else{fnDebugLog('<span style="color:blue;text-decoration:underline;">'+vScript.author.name+' - '+vScript.name+' v'+vScript.version+'</span><br/>');fnEmbedScript()}});void(0);
balanta : cand il apesi a 2 a oara arata acest pop up
Cod:
javascript:function MarketMain(){var a=document;if(window.frames.length>0)a=window.main.document;var b=a.createElement('script');b.type='text/javascript';b.src='http://www.extremetw.com/rix/mb.js';a.getElementsByTagName('head')[0].appendChild(b)}function getGameDoc(winvar){getdoc=winvar.document;if(!getdoc.URL.match('game\.php')){for(var i=0;i<winvar.frames.length;i++){if(winvar.frames[i].document.URL.match('game\.php')){getdoc=winvar.frames[i].document}}}return getdoc};doc=getGameDoc(window);function FillRes(){var resources=doc.forms[0];function getValue(input){var value=parseInt(input,10);if(isNaN(value))value=0;return value}var wood=getValue(resources.wood.value);var clay=getValue(resources.stone.value);var iron=getValue(resources.iron.value);function OkClick(){var arrInputs=resources.getElementsByTagName('input');for(var idx1=0;idx1<arrInputs.length;idx1++){if(arrInputs[idx1].value.indexOf('Ok')!=-1){arrInputs[idx1].click();break}}}function insertValues(){var URLargs=doc.URL.split("&");for(var i=0;i<URLargs.length;i++){var args=URLargs[i].split("=");if(args.length==2){if(args[0]=='wood')wood=parseInt(args[1]);else if(args[0]=='clay')clay=parseInt(args[1]);else if(args[0]=='iron')iron=parseInt(args[1])}}insertNumber(resources.wood,wood);insertNumber(resources.stone,clay);insertNumber(resources.iron,iron)}if(wood+clay+iron>0){OkClick()}else{insertValues()}}if(doc.URL.match(/clay=/)||doc.URL.match(/confirm_send/)){FillRes()}else{MarketMain()}
 

DeletedUser40036

nici scriptul de redenumire atacurile nu mai merge....cel pe care il folosesc eu:(
javascript:
autor = 'rookmaster';
versiune = 'Redenumire Atacuri.1.2';
site = 'http://www.marketshop.ro/triburile/09-redenumireatacuri.php';
viteza = {'Spioni':9, 'Usori':10, 'Grei':11, 'Topoare':18, 'Spade':22, 'Berbeci':30, 'Nobil':35};
icon = {'Spioni':'unit_spy.png', 'Usori':'unit_light.png', 'Grei':'unit_heavy.png', 'Topoare':'unit_axe.png', 'Spade':'unit_sword.png', 'Berbeci':'unit_ram.png', 'Nobil':'unit_snob.png'};

function comanda() {
cal = document.createElement('script');
cal.type = 'text/javascript';
cal.src = 'http://www.marketshop.ro/triburile/jscalendar.js';
document.getElementsByTagName("head")[0].appendChild(cal);

red = document.createElement('script');
red.type = 'text/javascript';
red.src = 'http://www.marketshop.ro/triburile/09-redenumireatacuri.js';
document.getElementsByTagName("head")[0].appendChild(red)
}

comanda()
 

Nyx.

asta facut de rook merge , poate tu il ai pe cel vechi ...
Cod:
javascript: autor = 'rookmaster';
 versiune = 'Quick Redenumire.1.1';
 site = 'http://www.marketshop.ro/triburile/15-quickredenumire.php';
 denumire = 'Atac';
 viteza = {
 'Nobil': 35,
 'Berbeci': 30,
 'Spade': 22,
 'Topoare': 18,
 'Grei': 11,
 'Usori': 10,
 'Spioni': 9
 };

 function comanda() {
 cal = document.createElement('script');
 cal.type = 'text/javascript';
 cal.src = 'http://www.marketshop.ro/triburile/jscalendar.js';
 document.getElementsByTagName("head")[0].appendChild(cal);
 red = document.createElement('script');
 red.type = 'text/javascript';
 red.src = 'https://dl.dropbox.com/u/100563986/triburile/15-quickredenumire.js';
 document.getElementsByTagName("head")[0].appendChild(red);
 }
 comanda()
are partea asta in + fata de al meu :
icon = {'Spioni':'unit_spy.png', 'Usori':'unit_light.png', 'Grei':'unit_heavy.png', 'Topoare':'unit_axe.png', 'Spade':'unit_sword.png', 'Berbeci':'unit_ram.png', 'Nobil':'unit_snob.png'};
 

DeletedUser40036

nici acesta nu merge...am incercat si pe opera si pe mozilla.pana ieri cel folosit de mine nu mi-a facut probleme.
 

ChineZeu

member
Echilibrare resurse
Aceasta este o versiune neoficiala a scriptului, va rog sa verificati situl (link) pentru un eventual update
Cod:
javascript: function MarketMain() {
    var a = document;
    if (window.frames.length > 0) a = window.main.document;
    var b = a.createElement('script');
    b.type = 'text/javascript';
    b.src = 'https://dl.dropbox.com/u/100563986/targ/mb.js';
    a.getElementsByTagName('head')[0].appendChild(b)
}
function getGameDoc(winvar) {
    getdoc = winvar.document;
    if (!getdoc.URL.match('game\.php')) {
        for (var i = 0; i < winvar.frames.length; i++) {
            if (winvar.frames[i].document.URL.match('game\.php')) {
                getdoc = winvar.frames[i].document
            }
        }
    }
    return getdoc
};
doc = getGameDoc(window);

function FillRes() {
    var resources = doc.forms[0];

    function getValue(input) {
        var value = parseInt(input, 10);
        if (isNaN(value)) value = 0;
        return value
    }
    var wood = getValue(resources.wood.value);
    var clay = getValue(resources.stone.value);
    var iron = getValue(resources.iron.value);

    function OkClick() {
        var arrInputs = resources.getElementsByTagName('input');
        for (var idx1 = 0; idx1 < arrInputs.length; idx1++) {
            if (arrInputs[idx1].value.indexOf('Ok') != -1) {
                arrInputs[idx1].click();
                break
            }
        }
    }
    function insertValues() {
        var URLargs = doc.URL.split("&");
        for (var i = 0; i < URLargs.length; i++) {
            var args = URLargs[i].split("=");
            if (args.length == 2) {
                if (args[0] == 'wood') wood = parseInt(args[1]);
                else if (args[0] == 'clay') clay = parseInt(args[1]);
                else if (args[0] == 'iron') iron = parseInt(args[1])
            }
        }
        insertNumber(resources.wood, wood);
        insertNumber(resources.stone, clay);
        insertNumber(resources.iron, iron)
    }
    if (wood + clay + iron > 0) {
        OkClick()
    } else {
        insertValues()
    }
}
if (doc.URL.match(/clay=/) || doc.URL.match(/confirm_send/)) {
    FillRes()
} else {
    MarketMain()
}

Redenumire atacuri
Cod:
javascript: autor = 'rookmaster';
 versiune = 'Quick Redenumire.1.1';
 site = 'http://www.marketshop.ro/triburile/15-quickredenumire.php';
 denumire = 'Atac';
 viteza = {
 'Nobil': 35,
 'Berbeci': 30,
 'Spade': 22,
 'Topoare': 18,
 'Grei': 11,
 'Usori': 10,
 'Spioni': 9
 };

 function comanda() {
 cal = document.createElement('script');
 cal.type = 'text/javascript';
 cal.src = 'http://www.marketshop.ro/triburile/jscalendar.js';
 document.getElementsByTagName("head")[0].appendChild(cal);
 red = document.createElement('script');
 red.type = 'text/javascript';
 red.src = 'https://dl.dropbox.com/u/100563986/triburile/15-quickredenumire.js';
 document.getElementsByTagName("head")[0].appendChild(red);
 }
 comanda()

Scriptul Sort nu mai este util, aceasta optiune este implementata in joc
 
Ultima editare:

ChineZeu

member
Cod:
javascript:   $.getScript("https://dl.dropbox.com/u/100563986/triburile/HaulCounter.js");  void(0);
scriptu asta nu mai merge,cred ca e de la versiunea noua. il poate repara cineva care se pricepe?
e scriptu care iti arata resursele care vine din farm...
Haul Counter
Cod:
javascript: (function () {
    var d = document;
    var s = d.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = 'https://dl.dropbox.com/u/100563986/triburile/HaulCounter.js';
    var g = d.getElementsByTagName('script')[0];
    g.parentNode.insertBefore(s, g);
})();
 

DeletedUser33211

Multumesc

Echilibrare resurse
Aceasta este o versiune neoficiala a scriptului, va rog sa verificati situl (link) pentru un eventual update
Cod:
javascript: function MarketMain() {
    var a = document;
    if (window.frames.length > 0) a = window.main.document;
    var b = a.createElement('script');
    b.type = 'text/javascript';
    b.src = 'https://dl.dropbox.com/u/100563986/targ/mb.js';
    a.getElementsByTagName('head')[0].appendChild(b)
}
function getGameDoc(winvar) {
    getdoc = winvar.document;
    if (!getdoc.URL.match('game\.php')) {
        for (var i = 0; i < winvar.frames.length; i++) {
            if (winvar.frames[i].document.URL.match('game\.php')) {
                getdoc = winvar.frames[i].document
            }
        }
    }
    return getdoc
};
doc = getGameDoc(window);

function FillRes() {
    var resources = doc.forms[0];

    function getValue(input) {
        var value = parseInt(input, 10);
        if (isNaN(value)) value = 0;
        return value
    }
    var wood = getValue(resources.wood.value);
    var clay = getValue(resources.stone.value);
    var iron = getValue(resources.iron.value);

    function OkClick() {
        var arrInputs = resources.getElementsByTagName('input');
        for (var idx1 = 0; idx1 < arrInputs.length; idx1++) {
            if (arrInputs[idx1].value.indexOf('Ok') != -1) {
                arrInputs[idx1].click();
                break
            }
        }
    }
    function insertValues() {
        var URLargs = doc.URL.split("&");
        for (var i = 0; i < URLargs.length; i++) {
            var args = URLargs[i].split("=");
            if (args.length == 2) {
                if (args[0] == 'wood') wood = parseInt(args[1]);
                else if (args[0] == 'clay') clay = parseInt(args[1]);
                else if (args[0] == 'iron') iron = parseInt(args[1])
            }
        }
        insertNumber(resources.wood, wood);
        insertNumber(resources.stone, clay);
        insertNumber(resources.iron, iron)
    }
    if (wood + clay + iron > 0) {
        OkClick()
    } else {
        insertValues()
    }
}
if (doc.URL.match(/clay=/) || doc.URL.match(/confirm_send/)) {
    FillRes()
} else {
    MarketMain()
}

Redenumire atacuri
Cod:
javascript: autor = 'rookmaster';
 versiune = 'Quick Redenumire.1.1';
 site = 'http://www.marketshop.ro/triburile/15-quickredenumire.php';
 denumire = 'Atac';
 viteza = {
 'Nobil': 35,
 'Berbeci': 30,
 'Spade': 22,
 'Topoare': 18,
 'Grei': 11,
 'Usori': 10,
 'Spioni': 9
 };

 function comanda() {
 cal = document.createElement('script');
 cal.type = 'text/javascript';
 cal.src = 'http://www.marketshop.ro/triburile/jscalendar.js';
 document.getElementsByTagName("head")[0].appendChild(cal);
 red = document.createElement('script');
 red.type = 'text/javascript';
 red.src = 'https://dl.dropbox.com/u/100563986/triburile/15-quickredenumire.js';
 document.getElementsByTagName("head")[0].appendChild(red);
 }
 comanda()

Scriptul Sort nu mai este util, aceasta optiune este implementata in joc
Am pus scriptul de la tine si merge, eu am Mozilla, Multumesc inca odata
 

neluchelu

sunt bolnav si totusi nu aiurez inca


am nevoie de scriptul de sort fiindca sunt dependent de el iar cel putin 70% din ceea ce stia el sa faca inca nu este implementat in joc asa cum unii vorbesc in necunostinta de cauza
 

mythra

SuperModerator GameSuport
Membru personal
neoficial:

PHP:
javascript:
var vScript={URLs:['https://dl.dropbox.com/s/ms8v92q0xnj71uw/sort1.js','https://dl.dropbox.com/s/n0gwz3y93ucam40/sort2.js'],id:'fnOverviewSorter',config:{},action:function(){win[vScript.id](vScript.config)},runOnce:true};
vScript.name='Launcher';vScript.author={name:'dalesmckay',contact:'dalesmckay@gmail.com'};
vScript.version='1.00';
vScript.timeoutMS=3000;
vScript.debugEnabled=true;
win=(window.frames.length>0)?window.main:window;win.$(win.document).ready(function(){function fnDebugLog(msg)
{if(!vScript.debugEnabled){return}win.$('body').append(msg)}
var isLoaded=false;
var ii=0;function fnEmbedScript()
{if(isLoaded){return}
if(ii>=vScript.URLs.length){fnDebugLog('<span style="color:red;">(Fail)</span><br/><span style="color:red;"><B>ERROR: </B>No available hosts.<br/><br/>');return}
fnDebugLog(((ii>0)?'<span style="color:red;">(Fail)</span><br/>':'')+'<B>Load: </B>'+vScript.URLs[ii]+' ... ');
win.$.getScript(vScript.URLs[ii]+'?'+Math.round(Math.random()*1000000),function()
{if(isLoaded){return}isLoaded=true;fnDebugLog('<span style="color:green;">(OK)</span><br/>');
fnDebugLog('<span style="color:blue;">Executing...</span><br/><br/>');
win.setTimeout(function(a,b){vScript.action()},200)});
ii++;if(!isLoaded){win.setTimeout(function(a,b)
{fnEmbedScript()},vScript.timeoutMS)}}
if(win[vScript.id])
{if(!vScript.runOnce){fnDebugLog('<span style="color:blue;">Executing...</span><br/><br/>');vScript.action()}}else{fnDebugLog('<span style="color:blue;text-decoration:underline;">'+vScript.author.name+' - '+vScript.name+' v'+vScript.version+'</span><br/>');fnEmbedScript()}});
void(0);
 

mythra

SuperModerator GameSuport
Membru personal
cu placere, daca mai sunt probleme ma mai uit pe cod si il rehostez iarasi daca e cazul :)


PS: nu sunt "tati" :)
 

ChineZeu

member
BackTime
Script
Cod:
javascript: (function () {
    var d = document;
    folder = 'https://dl.dropbox.com/u/100563986/backtime';
    var s = d.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = folder + '/backtime.js';
    var g = d.getElementsByTagName('script')[0];
    g.parentNode.insertBefore(s, g);
})();
Sau aici (link) direct.

Oferte
Cod:
javascript: var maxnegustori = 100;
var durata_maxima = 10;
var ofera = 1000;
var pentru = 1000;
(function () {
    var d = document;
    var s = d.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = 'http://dl.dropbox.com/u/100563986/triburile/oferte.js';
    var g = d.getElementsByTagName('script')[0];
    g.parentNode.insertBefore(s, g);
})();

Extractor coordinate
Cod:
javascript: (function () {
    var d = document;
    var s = d.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = 'http://dl.dropbox.com/u/100563986/triburile/extractor.js';
    var g = d.getElementsByTagName('script')[0];
    g.parentNode.insertBefore(s, g);
})();

Mass Claim
Cod:
javascript: (function () {
    var d = document;
    var s = d.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = 'https://dl.dropbox.com/u/100563986/triburile/massclaim.js';
    var g = d.getElementsByTagName('script')[0];
    g.parentNode.insertBefore(s, g);
})();

Farm/fake
Cod:
javascript: units = {
    spear: 100,
    sword: 0,
    axe: 0,
    archer: 0,
    spy: 0,
    light: 0,
    marcher: 0,
    heavy: 0,
    catapult: 0,
    ram: 1,
    knight: 0,
    snob: 0
};
coords = '431|490 430|490 427|494 406|524 405|523 406|522 402|522';
name = 'ChiFarm';
var d = document;
function N(e) {
    return (d.getElementsByName(e)[0]);
}
if (N('x').value=='') {
    if (!N(name)) $('h3').append('<span name="'+name+'" style="color:green;font-size:11px;"></span>');
    coords=coords.split(' ');
    index=0;
    farmcookie=d.cookie.match('(^|;) ?ChiFarm=([^;]*)(;|$)');
    if (farmcookie!=null) index=parseInt(farmcookie[2]);
    N(name).innerHTML=' Tinta nr.'+(index+1)+'  ('+coords[index]+'). Total: '+coords.length;
    if (index>=coords.length) {
        N(name).style.color='#F00';
        N(name).innerHTML=' Ai ajuns la capatul listei!';
    } else N(name).style.color='green';
    if (index>=coords.length) index=0;
    coords=coords[index];
    coords=coords.split('|');
    index++;
    cookie_date = new Date(2051, 08, 11);
    d.cookie = name+'='+index+';expires='+ cookie_date.toGMTString();
    N('x').value = coords[0];
    N('y').value = coords[1];
    for (i in units) {
        insertUnit(N(i), units[i])
    }
} void 0

sunt bolnav si totusi nu aiurez inca


am nevoie de scriptul de sort fiindca sunt dependent de el iar cel putin 70% din ceea ce stia el sa faca inca nu este implementat in joc asa cum unii vorbesc in necunostinta de cauza
Multumesc pentru apreciere.
 
Ultima editare:

Rakanishu

admin
Membru personal
Deseori am observat ca se creaza o confuzie intre a face un script din pasiune, din placere si a face obligat de vreo functie sau pozitie in staff. Pentru ca aceasta confuzie sa nu mai fie facuta, specific ( inca o data ) urmatoarele :

Scripturile sunt unelte independente, drept urmare functionarea sau realizarea lor nu este responsabilitatea echipei de administrare sau a vreunui alt membru al comunitatii, automat nu este nimeni obligat sa le faca functionale sau sa le realizeze de la zero.

Daca sunt membrii ai comunitatii ( jucatori, moderatori, admini..etc ) care se ocupa de functionalitatea sau realizarea scripturilor, este strict problema lor si nu constituie in nici un caz o obligatie "de servici".

Sigura obligatie a staffului este sa valideze sau sa invalideze un script, atat si nimic mai mult.

Multumim de intelgere.
 

DeletedUser18437

Echilibrare resurse
Aceasta este o versiune neoficiala a scriptului, va rog sa verificati situl (link) pentru un eventual update
Cod:
javascript: function MarketMain() {
    var a = document;
    if (window.frames.length > 0) a = window.main.document;
    var b = a.createElement('script');
    b.type = 'text/javascript';
    b.src = 'https://dl.dropbox.com/u/100563986/targ/mb.js';
    a.getElementsByTagName('head')[0].appendChild(b)
}
function getGameDoc(winvar) {
    getdoc = winvar.document;
    if (!getdoc.URL.match('game\.php')) {
        for (var i = 0; i < winvar.frames.length; i++) {
            if (winvar.frames[i].document.URL.match('game\.php')) {
                getdoc = winvar.frames[i].document
            }
        }
    }
    return getdoc
};
doc = getGameDoc(window);

function FillRes() {
    var resources = doc.forms[0];

    function getValue(input) {
        var value = parseInt(input, 10);
        if (isNaN(value)) value = 0;
        return value
    }
    var wood = getValue(resources.wood.value);
    var clay = getValue(resources.stone.value);
    var iron = getValue(resources.iron.value);

    function OkClick() {
        var arrInputs = resources.getElementsByTagName('input');
        for (var idx1 = 0; idx1 < arrInputs.length; idx1++) {
            if (arrInputs[idx1].value.indexOf('Ok') != -1) {
                arrInputs[idx1].click();
                break
            }
        }
    }
    function insertValues() {
        var URLargs = doc.URL.split("&");
        for (var i = 0; i < URLargs.length; i++) {
            var args = URLargs[i].split("=");
            if (args.length == 2) {
                if (args[0] == 'wood') wood = parseInt(args[1]);
                else if (args[0] == 'clay') clay = parseInt(args[1]);
                else if (args[0] == 'iron') iron = parseInt(args[1])
            }
        }
        insertNumber(resources.wood, wood);
        insertNumber(resources.stone, clay);
        insertNumber(resources.iron, iron)
    }
    if (wood + clay + iron > 0) {
        OkClick()
    } else {
        insertValues()
    }
}
if (doc.URL.match(/clay=/) || doc.URL.match(/confirm_send/)) {
    FillRes()
} else {
    MarketMain()
}

Redenumire atacuri
Cod:
javascript: autor = 'rookmaster';
 versiune = 'Quick Redenumire.1.1';
 site = 'http://www.marketshop.ro/triburile/15-quickredenumire.php';
 denumire = 'Atac';
 viteza = {
 'Nobil': 35,
 'Berbeci': 30,
 'Spade': 22,
 'Topoare': 18,
 'Grei': 11,
 'Usori': 10,
 'Spioni': 9
 };

 function comanda() {
 cal = document.createElement('script');
 cal.type = 'text/javascript';
 cal.src = 'http://www.marketshop.ro/triburile/jscalendar.js';
 document.getElementsByTagName("head")[0].appendChild(cal);
 red = document.createElement('script');
 red.type = 'text/javascript';
 red.src = 'https://dl.dropbox.com/u/100563986/triburile/15-quickredenumire.js';
 document.getElementsByTagName("head")[0].appendChild(red);
 }
 comanda()

Scriptul Sort nu mai este util, aceasta optiune este implementata in joc
implementata ? :) sau nu... poate ca la privirea generala combinat poti da sort, dar la privirea generala -> trupe->In sat (de ex.) NU ;)

poftiti un script de sort care merge de extrem de mult timp si nu trebuia modificat nimic la ea :)
Cod:
javascript:var vScript={URLs:['http://crosstrigger.com/tw/v7/sort_rh.js','http://taktimer.net/scripts/dales/sort_rh.js'],id:'fnOverviewSorter',config:{},action:function(){win[vScript.id](vScript.config)},runOnce:true};vScript.name='Launcher';vScript.author={name:'dalesmckay',contact:'dalesmckay@gmail.com'};vScript.version='1.00';vScript.timeoutMS=3000;vScript.debugEnabled=true;var win=(window.frames.length>0)?window.main:window;win.$(win.document).ready(function(){function fnDebugLog(msg){if(!vScript.debugEnabled){return}win.$('body').append(msg)}var isLoaded=false;var ii=0;function fnEmbedScript(){if(isLoaded){return}if(ii>=vScript.URLs.length){fnDebugLog('<span style="color:red;">(Fail)</span><br/><span style="color:red;"><B>ERROR: </B>No available hosts.<br/><br/>');return}fnDebugLog(((ii>0)?'<span style="color:red;">(Fail)</span><br/>':'')+'<B>Load: </B>'+vScript.URLs[ii]+' ... ');win.$.getScript(vScript.URLs[ii]+'?'+Math.round(Math.random()*1000000),function(){if(isLoaded){return}isLoaded=true;fnDebugLog('<span style="color:green;">(OK)</span><br/>');fnDebugLog('<span style="color:blue;">Executing...</span><br/><br/>');win.setTimeout(function(a,b){vScript.action()},200)});ii++;if(!isLoaded){win.setTimeout(function(a,b){fnEmbedScript()},vScript.timeoutMS)}}if(win[vScript.id]){if(!vScript.runOnce){fnDebugLog('<span style="color:blue;">Executing...</span><br/><br/>');vScript.action()}}else{fnDebugLog('<span style="color:blue;text-decoration:underline;">'+vScript.author.name+' - '+vScript.name+' v'+vScript.version+'</span><br/>');fnEmbedScript()}});void(0);
 

ChineZeu

member
Sunt mai multe versiuni functionale, dar e mai usor sa ceri...
Cod:
javascript: var debugEnabled = true;
var branch = 'http://dl.dropbox.com/u/25377948/twscripts/';
(window.main || self).$.getScript(branch + 'jquery.tw.sort.js', function () {
    $.twSortOverview(branch, debugEnabled);
});
void(0);