From 781fb58491f9fccbfa1821ea44a8114ab0ca9269 Mon Sep 17 00:00:00 2001 From: echo <91651232+exhq@users.noreply.github.com> Date: Thu, 29 Sep 2022 19:31:54 +0330 Subject: yeah i changed things --- console/src/jsMain/kotlin/main.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'console/src/jsMain/kotlin/main.kt') 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)) }) } } -- cgit