Princess-Twilight

A Gay Autistic Plural Little Pony

  • It/Her

a lesbian pony princess that reads too much
18+ | horror lover | linux user
Avatar source



mellodillo
@mellodillo

I've been seeing more and more people utilizing .beat time on here and it made me realize I really have no handy means of tracking the current .beat time or making sense of timestamps from other users! So I decided I would make a little script for fun - it displays a real-time .beat clock in the header of the site here.

It's definitely not perfect, and I'm sure someone can probably make a better version. I kind of slapped this one together using some code I scraped together while I was making a Firefox plugin for a similar purpose. Also, major thanks to @Twilight-Sparkle for giving me the promise logic so the new elements would actually load correctly!!!

Grab it here! https://gist.github.com/mellodillo/ac418cc4ec8ae1fc1bb0cfe69d827d7b/raw/956ec88aab2576da1b14ef26e79f8d6db30773a4/cohost_beatclock.user.js


mellodillo
@mellodillo

also i can't believe i stayed up until past @430 making this lol


You must log in to comment.

in reply to @mellodillo's post:

So on my Mac, I downloaded SwiftBar, which is a tool to make a menu bar widget out of a bash script, it just runs the script at regular intervals and puts the output in the menu bar. And then I set up the script linked here in that, telling SwiftBar to run it once a second. I’m doing this off of memory, I don’t have the setup in front of me, but I’d be happy to double check it tomorrow if you’d find it useful.