Essayé ceci:Comment charger l'API Google (UDS.JS) sur demande (avec jQuery)?
$('.link').click(function(e) {
$.getScript('http://www.google.com/uds/api?file=uds.js&v=1.0', function() {
$('body').append('<p>GOOGLE API (UDS) is loaded</p>');
});
return false;
});
Oui, il charge un fichier principal "de uds.js", puis verrouille la page en chargeant un fichier JS locale ("default + en.I.js", voir la ligne # 48 "uds.js").