This commit is contained in:
IndieKKY
2024-04-26 14:15:41 +08:00
parent 75235883a5
commit 39d3f9be8e

View File

@@ -24,7 +24,7 @@ const timerIframe = setInterval(function () {
const iframe = document.createElement('iframe') const iframe = document.createElement('iframe')
iframe.id = IFRAME_ID iframe.id = IFRAME_ID
iframe.src = chrome.runtime.getURL('index.html') iframe.src = chrome.runtime.getURL('index.html')
iframe.style = 'border: none; width: 100%; height: 44px;' iframe.style = 'border: none; width: 100%; height: 44px;margin-bottom: 3px;'
iframe.allow = 'clipboard-read; clipboard-write;' iframe.allow = 'clipboard-read; clipboard-write;'
if (vKey) { if (vKey) {
iframe.dataset[vKey] = danmukuBox?.dataset[vKey] iframe.dataset[vKey] = danmukuBox?.dataset[vKey]