mirror of
https://github.com/osmarks/website
synced 2025-09-05 11:57:57 +00:00
updated things???
This commit is contained in:
@@ -297,4 +297,14 @@ window.points = (() => {
|
||||
achievementInfo,
|
||||
setMetric
|
||||
}
|
||||
})()
|
||||
})()
|
||||
|
||||
const customStyle = localStorage.getItem("user-stylesheet")
|
||||
let customStyleEl = null
|
||||
if (customStyle) {
|
||||
customStyleEl = document.createElement("style")
|
||||
customStyleEl.appendChild(document.createTextNode(customStyle))
|
||||
customStyleEl.onload = () => console.log("Loaded custom styles")
|
||||
customStyleEl.id = "custom-style"
|
||||
document.head.appendChild(customStyleEl)
|
||||
}
|
Reference in New Issue
Block a user