Last active
March 25, 2020 10:23
-
-
Save AirStair/1e7139e7027d49d6b90d526eabe7b4ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var send = XMLHttpRequest.prototype.send; | |
var params; | |
var sendNew; | |
XMLHttpRequest.prototype.send = function(data) { | |
params = new URLSearchParams(data); | |
if (new URLSearchParams(data).get('D') === '75') { | |
sendNew = function () { | |
params.set('PRICE', '9999'); | |
send.call(this, params); | |
}.bind(this); | |
} else { | |
send.call(this, data); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment