aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorecho <91651232+exhq@users.noreply.github.com>2022-09-29 19:31:54 +0330
committerecho <91651232+exhq@users.noreply.github.com>2022-09-29 19:31:54 +0330
commit781fb58491f9fccbfa1821ea44a8114ab0ca9269 (patch)
tree8e656c700c30a7b9618b51f63e10f001af4ac3cc
parent3c130f84355f721a479bb4a019ff502f87eb9cc8 (diff)
downloadexhq.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.kt6
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)) })
}
}