Since I don't want to waste time purchasing items for flipping the market and I wanted to test my programming skills, I created this script to automate the buying process on a specified market page from SimpleMMO web version.
It sequentially initiates purchase actions for every listed item.
For the future, this script might be outdated because of the change in the DOM structure from the HTML of the SMMO Website.
- Automated Purchasing: The script automatically clicks on each "Buy" button, triggering the purchase pop-up confirmation for each item.
- Confirmation Click: Post opening the purchase pop-up, it locates and clicks the confirm button to finalize the purchase.
To use this script:
- Navigate to the market page where you wish to perform the automated buying.
- Open the browser's developer console (usually accessible by pressing
F12
orCtrl+Shift+I
, orCmd+Option+I
on Mac). - Paste the entire script into the console.
- Press
Enter
to execute the script.
The script will begin operating immediately, processing one item at a time. If the confirmation button within the purchase pop-up confirmation cannot be found, it will log an error message and continue with the next item.