let's try indexdb

This commit is contained in:
vuk
2024-11-04 23:42:55 +01:00
parent 31b725dfc6
commit aa71f952ec
6 changed files with 99 additions and 1 deletions

5
scripts/contentScript.js Normal file
View File

@@ -0,0 +1,5 @@
chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
if (message.type === "setMilje") {
document.body.style.background = `url(${message.milje})`;
}
});