Powerline.io Ping Display

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

ئاپتورى
David Bett
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
0
باھا نومۇرى
0 0 0
نەشرى
1.2
قۇرۇلغان ۋاقتى
2025-10-08
يېڭىلانغان ۋاقتى
2025-10-08
Size
1.8 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

⚙️ 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+)