Javascript – Cannot close a script-opened window in Firefox
This JS works okay on Chrome but not on Firefox, new window cannot be closed from JS: function print(){ var canvas = document.getElementById("canvas"); var printWindow = window.open(); var printHtml = "<!DOCTYPE html>" + "<html lang='en'>" + "<meta charset='UTF-8'>" + "<title>Printing…