#HTTP_HEADER{Content-Type: text/javascript} // socialtags.js // 'ajouter un bookmark' ne marche que sous IE // les tuyaux trouves pour FF // window.sidebar.addPanel(t,u,''); // cf https://bugzilla.mozilla.org/show_bug.cgi?id=214530 // ou Opera sont creves ;var socialtags_addfavorite = function(u,t){ if(document.all)window.external.AddFavorite(u,t); }; (function($) { $(function(){ var selector = $('[(#CONFIG{socialtags/jsselector})]'); if (!selector.length) return; var socialtags = [(#CONFIG{socialtags/tags}|socialtags_json)]; var title = $('title').text() ||''; // [@attr] style selectors removed in jQuery 1.3 (voir http://docs.jquery.com/Selectors) // si besoin, rendre compatible avec anciennes versions de jQuery (SPIP 192x) var jqss = (jQuery.fn.jquery <= '1.2.6') ? '@' : ''; var description = ($('meta['+jqss+'name=description]').attr('content') || '').substr(0,250); var cano = $('link['+jqss+'rel=canonical]')[0]; var url = cano ? cano.href : document.location.href; var ul = $('