|
“).cliquez(fonction () { $(“lien[rel=canonical]”).attr(“href”, ‘https://ashdodnet.com’ + pageUrl); item.removeClass(“post-overflow”); $(this).find(“.read-more”).hide( ); try { ga(‘myTracker.send’, ‘pageview’, pageUrl); } catch (e) { } }); try { setNextLink( ); (e) { } essayez { FB.XFBML.parse($(“.facebook_container:last”)[0]); } catch (e) { } try { if ($(“.post_container:last .PictureSwitchList”).length > 0) { SetPictureSwitchSheduled2($(“.post_container:last .PictureSwitchList”), -1); } } catch (e) { } try { if ($(“.galleria”).length > 0) Galleria.run(‘.galleria:last’); } catch (e) { } try { LoadLazyScripts(); } catch (e) { } // FB.XFBML.parse(); //alerte($(“fb:comments:dernier”)[0]); // alerte(); // _gaq.push([‘_trackPageview’, pageUrl]); // OBR.extern.researchWidget(); // $(“.sticky”).stick_in_parent() // alerte(”); // CreateShare($(arrayOfNewElems).find(“.share”)); essayez {OBR.extern.researchWidget(); } attraper (e) { } } }); } }); //charger la fonction de script du compteur loadCounterDetails() { var ElectionDate = new Date(2018, 9, 30, 10, 07, 00); var countObj = calculateDays(Math.abs(new Date() – ElectionDate)); console.log(countObj.hours); console.log(countObj.days); for (var i = 0, len = countObj.days.toString().length; i 0) $(“.counter-days”).append(“
” + countObj.days.toString().charAt(i) + “
“) } for (var i = 0, len = countObj.hours.toString().length; i 0) $(“.counter-hours”).append(“
” + countObj.hours.toString().charAt(i) + “
“) } } function calculateDays
![](https://i0.wp.com/www.elnacional.cat/uploads/s1/48/84/08/70/famosos-catalans_4_1200x630-social_elnacional.jpeg?fit=300%2C300&ssl=1)