mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 06:27:14 +03:00
improve display while popup loads
This commit is contained in:
@@ -1694,7 +1694,7 @@ function openInfoMenu() {
|
||||
const frame = document.createElement("iframe");
|
||||
frame.width = "374";
|
||||
frame.height = "500";
|
||||
frame.onload = () => frame.contentWindow.postMessage("", "*");
|
||||
frame.addEventListener("load", () => frame.contentWindow.postMessage("", "*"));
|
||||
frame.src = chrome.extension.getURL("popup.html");
|
||||
popup.appendChild(frame);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user