A Tampermonkey userscript that brings real pump alerts to Rugplay. If a coin you hold gets pumped past a set threshold, you get a native-looking popup toast and the notification shows up on your notifications page with the buyer's name, the coin, and the exact % it moved, just like a real Rugplay notification.
You need Tampermonkey installed in your browser first.
👉 Install Tampermonkey supports Chrome, Firefox, Edge, Safari and Opera.
Once Tampermonkey is installed:
Important (Chrome): After installing, right click the Tampermonkey icon in your toolbar > Manage extension > scroll down and toggle Allow user scripts on. Without this the script will install but won't run.
- Click the Tampermonkey icon in your toolbar → Create a new script
- Delete the default content
- Paste in the full script from
rugplay-pump-notifications.user.js - Hit Save (
Ctrl+S) - Open rugplay.com — it will run automatically on every page load
- Native popup toasts: pump alerts appear
- Notifications page support: alerts show up on
/notifications - Holder check: only notifies you if you actually hold the coin that was pumped.
- Buyer name included: the notification tells you who pumped it, e.g.
DDS (*DDS221) was pumped 79.5% by @dingdong! - Session persistence: notifications survive client-side navigation within the same tab session
Rugplay runs a WebSocket connection to wss://ws.rugplay.com for all real-time data. Every trade on the platform broadcasts an all-trades event on that socket.
The script intercepts that stream using a Proxy on unsafeWindow.WebSocket. On every incoming BUY trade it:
- Calculates the price impact using the AMM formula:
- baseCurrencyNew = √(price × 1e12)
- oldPrice = ((baseCurrencyNew - totalValue)²) / 1e12
- increase = ((price - oldPrice) / oldPrice) × 100
- Checks if the increase exceeds the threshold (default
20%) - Calls
GET /api/coin/SYMBOL/holders?limit=50to verify you hold that coin - Dispatches a
notificationWebSocket event back into the same socket
Svelte picks up the fake event through its own internal message handler, which triggers the real toast popup and adds it to the notification state.
For notifications page persistence, alerts are saved to sessionStorage and injected back into the DOM on navigation using a MutationObserver.
The default trigger is 20%. To change it, find this line in the script:
if (increase > 20) {Change 20 to whatever you want. For example 100 for only major pumps, or 10 if you want earlier alerts.
To change the cooldown between repeat alerts on the same coin (default 30 seconds):
const COOLDOWN_MS = 30000;Change 30000 to any value in milliseconds.
These are things on the list when I got the time:
- Settings panel on the notifications page: a clean UI to configure everything without touching the code:
- Toggle desktop (OS-level) notifications
- Set your own pump % trigger
- Whitelist specific coin symbols to track at custom thresholds per coin
- Persistent storage optionally keep alerts across full browser restarts, not just the session
The original script was written by Not_Perfect, also known as @_cesium137 on Discord and @iswear on Rugplay.
Check out the original repo here: github.com/bahillybeans/Rugplay-stuff
This repo extends that work.
Extended by HoodClassic → github.com/HoodClassic3000/Rugplay-Pump-Notifications
This script runs entirely client-side in your own browser. It does not interact with any backend, does not store credentials, and does not make any write requests to Rugplay's API. Use it at your own risk. If FaceDev updates the WS event structure or DOM, the script may need updating.