toluschr / BetterDiscord-Animated-Status

Animate your Discord Status with this BetterDiscord Plugin
MIT License
255 stars 489 forks source link

Custom JS #20

Open xilohne5re opened 4 years ago

xilohne5re commented 4 years ago

Is there a tutorial on how to use custom js? If I want to have the "current time as your status", how do I do it? Thx in advance

toluschr commented 4 years ago

I'd recommend you to write the javascript in an external text editor and run it through a js minifier https://javascript-minifier.com. After that, prefix your status with eval and paste the minified js.

yuis-ice commented 2 years ago

Hi, I have the same issue as the title of the issue. I want to add a custom JS script as we can add custom CSS. Could you elaborate how to do that, @toluschr ?