aboutsummaryrefslogtreecommitdiff
path: root/console/src/jsMain
diff options
context:
space:
mode:
Diffstat (limited to 'console/src/jsMain')
-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)) })
}
}