diff options
author | echo <91651232+exhq@users.noreply.github.com> | 2022-09-29 19:31:54 +0330 |
---|---|---|
committer | echo <91651232+exhq@users.noreply.github.com> | 2022-09-29 19:31:54 +0330 |
commit | 781fb58491f9fccbfa1821ea44a8114ab0ca9269 (patch) | |
tree | 8e656c700c30a7b9618b51f63e10f001af4ac3cc | |
parent | 3c130f84355f721a479bb4a019ff502f87eb9cc8 (diff) | |
download | exhq.github.io-781fb58491f9fccbfa1821ea44a8114ab0ca9269.tar.gz exhq.github.io-781fb58491f9fccbfa1821ea44a8114ab0ca9269.tar.bz2 exhq.github.io-781fb58491f9fccbfa1821ea44a8114ab0ca9269.zip |
yeah i changed things
-rw-r--r-- | console/src/jsMain/kotlin/main.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/console/src/jsMain/kotlin/main.kt b/console/src/jsMain/kotlin/main.kt index 3c3b9da..82aa4b5 100644 --- a/console/src/jsMain/kotlin/main.kt +++ b/console/src/jsMain/kotlin/main.kt @@ -56,6 +56,9 @@ fun main() { backgroundSize = "cover" backgroundAttachment = BackgroundAttachment.fixed } + a{ + color = Color("#AEC6CF") + } } @@ -248,7 +251,8 @@ fun main() { else{ if("(https://|http://)?((www\\.)?youtube.com/watch\\?)v=[a-zA-Z1-9]+.+".toRegex().matches(args[0])){ val arg = args[0] - console.addLine("https://poketube.fun/watch?"+args[0].subSequence(arg.indexOf("watch?")+6,arg.length)+"&pw=exhq") + val funny = "https://poketube.fun/watch?"+args[0].subSequence(arg.indexOf("watch?")+6,arg.length) + console.addLine(document.create.a(funny) { this.text("https://poketube.fun/watch?"+args[0].subSequence(arg.indexOf("watch?")+6,arg.length)) }) } } |