Skip to content

Instantly share code, notes, and snippets.

@zImPatrick
Last active April 13, 2025 16:34
Show Gist options
  • Save zImPatrick/e815de105dceb9d050e3b82dfd365368 to your computer and use it in GitHub Desktop.
Save zImPatrick/e815de105dceb9d050e3b82dfd365368 to your computer and use it in GitHub Desktop.
hide your rainbow six siege stats

hide your rainbow six siege stats

by running this script on the ubisoft account portal, you can hide your stats on stats sites like stats.cc, r6.patriick.dev and r6.tracker.network

you can also swap the consent id (8f31dfaa-325e-4bb6-8e2b-cd8405e10fa3) for some others:

  • 39f38da2-6c54-4449-ab54-b85ee5b4bd24 - hide your avatar
  • 43c649b5-6ca6-4ce9-8a6b-0c4960f66da0 - hide nameonplatform (I don't think this does anything tho)
  • 5f9d3a6c-43e3-4b07-97eb-b878ad63273e - online status
// on ubi account portal, do:
let consentValue = "private"; // public, friendsOnly, private
window.connectSDK.getTicket().subscribe(async i => {
await fetch("https://public-ubiservices.ubi.com/v2/profiles/" + i.payload.userId + "/consents", {
method: "PATCH",
headers: {
"Content-Type": "application/json",
"Ubi-appid": "c5393f10-7ac7-4b4f-90fa-21f8f3451a04",
"Authorization": "Ubi_v1 t=" + i.payload.ticket
},
body: JSON.stringify({"consents":{"8f31dfaa-325e-4bb6-8e2b-cd8405e10fa3":{"consentValue": consentValue }}})
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment