WeSupply Popup Comments

This script monitors WeSupply pages for RMA numbers and comments.

Author
James Boyle
Daily installs
0
Total installs
4
Ratings
0 0 0
Version
2024-08-04
Created
2024-08-01
Updated
2024-08-02
Size
2.69 KB
License
MIT
Applies to

This script monitors WeSupply pages for RMA numbers and comments. It does the following:

1. Continuously checks for changes in the RMA number (element with class '.rma').
2. Updates the page title with the current RMA number.
3. If there are any comments (in elements with class '.state-comments .text'),
it will show an alert with the RMA number and all comments.

Features:
- Ignores "Return #" as a valid RMA number.
- Only shows alerts when comments are present.
- Updates every second to catch any changes.

How to use:
1. Navigate to any WeSupply page matching the URL pattern. https://*.labs.wesupply.xyz/*
2. The script will run automatically, monitoring for RMA changes and comments.