Skip to content

Instantly share code, notes, and snippets.

@secretdataz
Last active March 12, 2026 08:38
Show Gist options
  • Select an option

  • Save secretdataz/83366cc920629b3278574bb990a57771 to your computer and use it in GitHub Desktop.

Select an option

Save secretdataz/83366cc920629b3278574bb990a57771 to your computer and use it in GitHub Desktop.
TR HoF Piero Run instant reward claim
const cookieString = document.cookie;
const cookies = cookieString.split(';');
let cookie = null;
for (let i = 0; i < cookies.length; i++) {
const cookieItem = cookies[i].trim();
if (cookieItem.startsWith('access_token' + '=')) {
cookie = cookieItem.substring('access_token'.length + 1);
break;
}
}
fetch("https://activity-api-v3.thehof.gg/ece25107-ec4f-4c83-9f2b-38afd0e77cc2/dino-run/a12ddea4-cd9e-4396-b6da-064daa55bacc/submit", {
"headers": {
"accept": "application/json",
"accept-language": "th",
"authorization": "Bearer " + cookie,
"content-type": "application/json",
},
"referrer": "https://event.thehof.gg/talesrunner/piero",
"body": "{\"distance\":10000}",
"method": "POST",
"credentials": "include"
}).then(() => console.log('Score submit success!')).catch(() => console.log('Score submit failed!'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment