How to call a html page and make it as pop up window in JavaScript?
问题 how to call a html page as a pop up window using pure/native JavaScript? Sorry, I'm not so good in Javascript. Please help me. Thank you How can I add your given script into my script? Here's my script: function scanLapVerification() { msgbox("sendRequest: scanLapVerification"); chrome.tabs.sendRequest(tabLapVerification, { method: "scanLapVerification" }, function (response) { msgbox("receiveResponse: scanLapVerification " + jsonToString(response, "JSON")); // maintaining state in the