Skip to content

Instantly share code, notes, and snippets.

View bribes's full-sized avatar

Faav bribes

View GitHub Profile
// made by Faav#6320
const open = XMLHttpRequest.prototype.open;
// to replace again only copy the below code
XMLHttpRequest.prototype.open = function () {
if (arguments[1] == 'https://discord.com/api/v9/connections/riotgames/authorize') {
arguments[1] = 'https://discord.com/api/v9/connections/ebay/authorize'
}
return open.apply(this, arguments);
}