24 lines
438 B
CoffeeScript
24 lines
438 B
CoffeeScript
|
### DisKort
|
||
|
# (c) Er2 2022
|
||
|
# Zlib License
|
||
|
###
|
||
|
|
||
|
### Base URL
|
||
|
# Source code is here: https://gitdab.com/er2/diskort
|
||
|
# / at end is required
|
||
|
###
|
||
|
base = 'https://raw.githubusercontent.com/Er2ch/diskort/main/'
|
||
|
|
||
|
inject = ->
|
||
|
try
|
||
|
resp = await fetch base + 'btfl.css'
|
||
|
text = await resp.text()
|
||
|
s = document.createElement 'style'
|
||
|
s.innerHTML = text
|
||
|
document.head.appendChild s
|
||
|
catch e
|
||
|
console.error e
|
||
|
|
||
|
# Call it!
|
||
|
inject()
|