TRUYỆN ĐỌC MỞ RỘNG CÙNG WONDERFUL WORLD 3
=> Kính mời các thầy cô truy cập theo từng nội dung bên dưới đây
function captureScreen() { var elementToCapture = document.body; // Chỉ chụp toàn bộ body trang webhtml2canvas(elementToCapture, { useCORS: true, onrendered: function (canvas) { var feedbackImage = canvas.toDataURL("image/png"); var downloadLink = document.getElementById("download-link"); downloadLink.href = feedbackImage; downloadLink.style.display = "block"; }, }); }
Skip to contentYou cannot copy content of this page