Skip to content

Commit

Permalink
perfect...
Browse files Browse the repository at this point in the history
Signed-off-by: Kami on YT <103985728+SenpaiHunters@users.noreply.github.com>
  • Loading branch information
SenpaiHunters authored Apr 6, 2023
1 parent 5d50c71 commit 57c43c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpotOn V0.7.js
Original file line number Diff line number Diff line change
Expand Up @@ -3432,7 +3432,7 @@ div.os-padding > div > div > div.main-view-container__scroll-node-child > main >
document.getElementById("background").remove()
//document.getElementById("background").innerHTML = ":root{ --backimg:url(" + document.getElementsByClassName("_64acb0e26fe0d9dff68a0e9725b2a920-scss cover-art-image")[0].src + ");}";
}
sheet.innerHTML = `:root{ --backimg:url('${document.getElementsByClassName('cover-art-image')[0].src}');}`;
sheet.innerHTML = ':root{ --backimg:url(\'' + document.getElementsByClassName('cover-art-image')[0].src + '\');}';
document.body.appendChild(sheet);
}
});
Expand All @@ -3450,7 +3450,7 @@ div.os-padding > div > div > div.main-view-container__scroll-node-child > main >
document.getElementById("background").remove()
//document.getElementById("background").innerHTML = ":root{ --backimg:url(" + document.getElementsByClassName("_64acb0e26fe0d9dff68a0e9725b2a920-scss cover-art-image")[0].src + ");}";
}
sheet.innerHTML = `:root{ --backimg:url('${document.getElementsByClassName('cover-art-image')[0].src}');}`;
sheet.innerHTML = ':root{ --backimg:url(\'' + document.getElementsByClassName('cover-art-image')[0].src + '\');}';
document.body.appendChild(sheet);
observer.observe(document.getElementsByClassName("cover-art-image")[0], {attributes : true});
}
Expand Down

0 comments on commit 57c43c0

Please sign in to comment.