The owner of a large betting shop that uses that website needs a training tool.
Submitting a bet consists of the following steps:
1) You select what you want to bet on (and we don't care)
2) You make a click on the "Submit" button
3) You click on the "Confirm" button
4) You print the receipt of the bet
The website is developed with jQuery + aspx and we don't have access to its code.
We need to create a browser extension that after step 2 goes directly to step 4, without step 3.
We don't want to submit the bet (it's just for training), so we need to prevent executing the API request to the server. As an alternative, we can change the server address and mock the API request.
The target browser is Chrome or Firefox.