Powerline.io Ping Display

Shows your ping in Powerline.io (top-left corner)

Forfatter
David Bett
Daglige installasjoner
0
Totale installasjoner
0
Vurderinger
0 0 0
Versjon
1.2
Lagd
08.10.2025
Oppdatert
08.10.2025
Size
1,8 kB
Lisens
MIT
Gjelder

⚙️ How to Use It
Install Tampermonkey on your browser.
Click the Tampermonkey icon → “Create a new script.”
Delete the default template, then paste the code above.
Save (Ctrl+S).
Go to https://powerline.io refresh, and you’ll see the ping box appear on the top-left.

How It Works

The script hooks into Powerline’s WebSocket connection.

It sends a small "pingCheck" message every 2 seconds.

When the server (or client mirror) responds, it measures the delay.

The ping result shows up as a small floating box on your screen:

🟢 Green = Good (under 100 ms)

🟡 Yellow = Moderate (100–200 ms)

🔴 Red = High latency (200 ms+)