Ajoutez fr.vitalitygames.com à l'exception de votre bloqueur publicitaire.
");document.getElementById("load-game").innerHTML = "";document.getElementById("load-game").append(scriptEl);document.querySelector("#load-game>div:first-child").style.position = "unset";setTimeout(function(){loadGame()},17000);var n=17;setTimeout(countDown,1000);function countDown(){n--;if(n>0){setTimeout(countDown,1000)};const scrEl = document.createRange().createContextualFragment("fermer en "+n+" secondes!
");document.getElementById("waiting").innerHTML = "";document.getElementById("waiting").append(scrEl);}function loadGame() {loadTheGame("load-game",true,true,true);document.querySelectorAll(".vote-btn").forEach(elf => {elf.classList.toggle("hide");});}}});function iI() {setTimeout(() => {var data6 = new FormData();data6.append('f', '4856');fetch("/x_load_game_visited.php", {method:"POST",body: data6}).then((res)=>{return res.text()})}, 90000);loadSimilarGames();var data4 = new FormData();data4.append('f', 'Ducks Game');fetch("/x_load_game_similar.php", {method:"POST",body: data4}).then((res)=>{return res.text()}).then((html)=>{const scriptEl = document.createRange().createContextualFragment(html);document.querySelector("#game-similar").innerHTML = "";document.querySelector("#game-similar").append(scriptEl);});document.querySelectorAll(".vote-btn").forEach(elf => {elf.addEventListener("click",(ev) => {fetch("/x_load_game_rate.php", {method:"POST",headers: {"Content-Type": "application/json"},body: JSON.stringify({"action":""+elf.getAttribute("clksen")+"","gameId":""+elf.getAttribute("gameid")+""})}).then((res)=>{if(res.status == 200) {document.querySelectorAll(".vote-btn").forEach(elf => {elf.classList.add("hide");});return res.text()}}).then((html)=>{document.querySelector(".vote-answer").classList.remove("hide");document.querySelector(".vote-answer").classList.add("btn-success");document.querySelector(".vote-answer").innerHTML = html;});});});toggleFull=function(){window.dispatchEvent(new Event("fullscreen"));var e=document.getElementById("html5-player");e&&(e.fullScreenElement&&null!==e.fullScreenElement||e.mozFullScreen||e.webkitIsFullScreen?cancelFullScreen(document):requestFullScreen(e));return false};cancelFullScreen=function(e){window.dispatchEvent(new Event("fullscreen"));var l=e.cancelFullScreen||e.webkitCancelFullScreen||e.mozCancelFullScreen||e.exitFullscreen;if(l)l.call(e);else if(void 0!==window.ActiveXObject){var n=new ActiveXObject("WScript.Shell");null!==n&&n.SendKeys("{F11}")}};requestFullScreen=function(e){var l=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;if(l)l.call(e);else if(void 0!==window.ActiveXObject){var n=new ActiveXObject("WScript.Shell");null!==n&&n.SendKeys("{F11}")}return false};};window.addEventListener ? window.addEventListener("load", iI, !1) : window.attachEvent ? window.attachEvent("onload", iI) : window.onload = iI;function reportGame(e) {var datafec = new FormData();datafec.append('f', '4856');datafec.append('t', 'Ducks Game');fetch("/x_load_game_report.php", {method:"POST",body: datafec});if("Signaler un jeu comme cassé"==document.getElementById("report-game").textContent){document.getElementById("report-game").classList.toggle("text-orange");document.getElementById("report-game").innerHTML="Annuler le rapport du jeu brisé";}else{document.getElementById("report-game").classList.toggle("text-orange");document.getElementById("report-game").innerHTML="Signaler un jeu comme cassé";}document.getElementById("reportGame").style.display="none"}