mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 19:54:39 +00:00
16 lines
501 B
JavaScript
16 lines
501 B
JavaScript
/* global chrome */
|
|
|
|
export async function appendBackgroundToUI() {
|
|
console.log("Starting appendBackgroundToUI...");
|
|
|
|
const parent = document.getElementById("container");
|
|
|
|
// embed background.html
|
|
const background = document.createElement("iframe");
|
|
background.id = "background";
|
|
background.classList.add("imageBackground");
|
|
background.setAttribute("excludeDarkCheck", "true");
|
|
background.src = chrome.runtime.getURL("backgrounds/background.html");
|
|
parent.appendChild(background);
|
|
}
|